List
Usage
Notes
• Lists 是代表表达式集合的非常一般的对象。
• 有属性Listable的函数自动贯穿于列表,使得它们分别对每个列表元素作用。大多数内嵌数学函数都是 Listable. • a, b, c 表示一个向量. • 嵌套列表可用于表示张量。
• 参见 Mathematica 全书 : 节 1.2.3 and 节 1.8.
Further Examples
A Mathematica list provides a way for you to group any kind of expressions. Here is a list of numbers.
In[1]:=
|
Out[1]=
|
This gives a list of symbolic expressions.
In[2]:=
|
Out[2]=
|
You can differentiate these expressions.
In[3]:=
|
Out[3]=
|
Or your can find their values when x is replaced with 3.
In[4]:=
|
Out[4]=
|
Here are two ways to see the internal representation of a list.
In[5]:=
|
Out[5]=
|
In[6]:=
|
Out[6]//FullForm=
|
|