为什么这样呢?不是listable属性问题呀
mathematica吧
全部回复
仅看楼主
level 9
In[322]:= fanwei = {x, 0, 20, 0.1};
Table[x, fanwei]
\:6B63\:5728\:8BA1\:7B97In[322]:= Table::nliter: Non-list iterator fanwei at position 2 does not evaluate to a real numeric value.
Out[323]= Table[x, fanwei]
2022年08月22日 13点08分 1
吧务
level 10
Table[x, Evaluate@fanwei]
2022年08月22日 13点08分 2
因为Table具有HoldAll属性
2022年08月22日 13点08分
@asdasd1dsadsa 哦哦明白,写了[呵呵]
2022年08月22日 14点08分
1