Timeline for Dropping value of one variable when another changes
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 7, 2013 at 11:51 | comment | added | Michael E2 |
@mikeonly I added a couple of alternatives. The first shows what ##2 becomes in this case, namely the single argument {1, 2, 1} .
|
|
Aug 7, 2013 at 11:50 | history | edited | Michael E2 | CC BY-SA 3.0 |
Added alternate solutions
|
Aug 6, 2013 at 21:40 | comment | added | Michael E2 |
# stands for the first argument (in the Function in Dynamic ) and ##2 stands for arguments 2 and above (in the Function Manipulator[..] & ). See this answer for links to the funny symbols, and all the tutorials at the bottom of the Manipulate page for the rest, esp. this part
|
|
Aug 6, 2013 at 21:27 | comment | added | mikeonly |
Thanks! Your answer fits great. I vaguely understand meaning of # in Dynamic[j, (k = 1; j = #) &] , but can't get sense of ##2 then. As I haven't completely grasped pure functions, can you explain that, please?
|
|
Aug 6, 2013 at 21:15 | vote | accept | mikeonly | ||
Aug 6, 2013 at 20:46 | history | answered | Michael E2 | CC BY-SA 3.0 |