Mathematica 的一些输入小技巧(如何中止运行)
注:Mathematica 输入法为英文输入法
1.|| ----->OR
2.{ } ----->List(列表)
3.[[]] ----->Index(第n个元素)
4.(A.B)或A.B ----->Dot(点乘)
5.Module[] ----->可获得局域变量
6.RandomInteger ----->可获得一个程序员无法预测的随机整数
7.如果想中止计算过程,那么按住 Alt+. 即可
8.Repeated (…) -----> 重复
In[1] : ={{}, {a, a}, {a, b}, {a, a, a}, {a}} /. {a …} -> x
Out[1] ={{}, x, {a, b}, x, x}
9.Apply(@@). -----> 应用