Tagged Questions
5
votes
3answers
96 views
Applying a function with the HoldAll attribute inside NestList
I'm trying to write an update function, which can be applied to a list and then to NestList it.
As the function has to manipulate the given variable I figured I ...
0
votes
0answers
60 views
8
votes
4answers
134 views
How to pass a list of arguments into HoldAll
I have a list of arguments (which in reality is lengthy):
arguments = {a, b, c}
arguments2 = {a_, b_, c_}
f[Sequence@@arguments2] := a + b + c
Note: It seems ...
0
votes
0answers
46 views
How to ContourPlot a Table? [duplicate]
Possible Duplicate:
Why is ContourPlot not displaying this curve?
Why do I have to put Evaluate[] here
I'm trying to plot certain contours of a function $f:\mathbb R^2\to\mathbb R$.
What I ...
7
votes
4answers
156 views
Button's command is not evaluated in iteration
I wish I didn't feel like a newbie after several months, but...
If I enter the following:
Table[ Button[ "Number: " <> ToString @ i, Print @ i], {i, 1, 5}]
...
5
votes
4answers
192 views
Prevent Part[] from trying to extract parts of symbolic expressions
If you have a list, e.g.
{1, 2, 3}
then you can extract the $k$th part using Part (...
