Tagged Questions
4
votes
2answers
140 views
why set values in this way doesn't work?
question is as follows
define a list
ttt={1,2};
and if I set values in this way
{ttt[[1]],ttt[[2]]}={3,4}
then the value ...
11
votes
2answers
123 views
Triggering actions when a variable is set
Some built-in variables trigger actions when their values are changed:
...
13
votes
2answers
222 views
How to make use of NumericQ[x] = True (and use it safely)?
Basic Issue:
I'm trying to understand the proper use of NumericQ's "magical" capabilities. Please consider the examples below. Actual question and some links are ...
12
votes
1answer
196 views
How to make a function like Set, but with a Block construct for the pattern names
How can we define a function that works like f[x_]=ComputeSomething[x] and treats x as a variable that does not have a value? ...