Timeline for Define a delayed function depending on a global variable as though the variable's contents was pasted
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 23 at 11:54 | history | edited | att | CC BY-SA 4.0 |
images -> code blocks
|
Nov 3, 2022 at 13:40 | comment | added | userrandrand |
@IonSme if you want to visualize the order of evaluation in mathematica you can use this answer. It might take some time to learn how to navigate but it gives a nice view of what happened. Using traceview2 from that answer you can use traceView2[ Activate@Inactivate[thingy[a_, y_] := NIntegrate[thing, {x, 0, 10}]]] to see the evaluations in a table that you can interactively open and close.
|
|
Nov 3, 2022 at 2:43 | comment | added | att |
@IonSme Some evaluation occurs between the application of Inactivate and Activate . Let me know if the edit is helpful.
|
|
Nov 3, 2022 at 2:41 | history | edited | att | CC BY-SA 4.0 |
added 1056 characters in body
|
Nov 2, 2022 at 23:44 | comment | added | ions me | As in why don't the activate and inactivate just cancel out? | |
Nov 2, 2022 at 23:43 | comment | added | ions me | Thanks, this works but I'm a bit confused about why. | |
Nov 2, 2022 at 5:08 | history | answered | att | CC BY-SA 4.0 |