Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Construction /

Table

FilledSmallSquare Table[expr, imax] generates a list of imax copies of expr.

FilledSmallSquare Table[expr, i, imax] generates a list of the values of expr when i runs from 1 to imax.

FilledSmallSquare Table[expr, i, imin, imax] starts with i = imin.

FilledSmallSquare Table[expr, i, imin, imax, di] uses steps di.

FilledSmallSquare Table[expr, i, imin, imax, j, jmin, jmax, ... ] gives a nested list. The list associated with i is outermost.

FilledSmallSquare Table evaluates its arguments in a non-standard way (see Section A.4.2).

FilledSmallSquare Example: Table[f[i], i, 4] LongRightArrow.

FilledSmallSquare Table uses the standard Mathematica iteration specification.

FilledSmallSquare Example: Table[i-j, i, 2, j, 2] LongRightArrow.

FilledSmallSquare You can use Table to build up vectors, matrices and tensors.

FilledSmallSquare See Section 1.7.3 and Section 1.8.2.

FilledSmallSquare See also: Range, DiagonalMatrix, IdentityMatrix, Array, Do, Sum, Product, FunctionInterpolation, NestList, NestWhileList, SparseArray.

FilledSmallSquare Related package: LinearAlgebra`MatrixManipulation`.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.