This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Construction  /
List

  • , , ... is a list of elements.
  • Lists are very general objects that represent collections of expressions.
  • Functions with attribute Listable are automatically "threaded" over lists, so that they act separately on each list element. Most built-in mathematical functions are Listable.
  • a , b , c represents a vector.
  • a , b , c , d represents a matrix.
  • Nested lists can be used to represent tensors.
  • See the Mathematica book: Section 1.2.3Section 1.8.0.
  • See also: Sequence.

    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=