|
Table
Table[expr, imax ] generates a list of imax copies of expr.
Table[expr, i, imax ] generates a list of the values of expr when i runs from 1 to imax.
Table[expr, i, imin, imax ] starts with i = imin.
Table[expr, i, imin, imax, di ] uses steps di.
Table[expr, i, imin, imax , j, jmin, jmax , ... ] gives a nested list. The list associated with i is outermost.
Table evaluates its arguments in a non-standard way (see Section A.4.2).
Example: Table[f[i], i, 4 ]  .
Table uses the standard Mathematica iteration specification.
Example: Table[i-j, i, 2 , j, 2 ]  .
You can use Table to build up vectors, matrices and tensors.
See Section 1.7.3 and Section 1.8.2.
See also: Range, DiagonalMatrix, IdentityMatrix, Array, Do, Sum, Product, FunctionInterpolation, NestList, NestWhileList, SparseArray.
Related package: LinearAlgebra`MatrixManipulation`.
New in Version 1.
Further Examples
|