Mathematica 9 is now available

Table

Usage

Table[expr, { }] generates a list of  copies of expr.
Table[expr, {i,  }] generates a list of the values of expr when i runs from 1 to  .
Table[expr, {i,  ,  }] starts with i =  .
Table[expr, {i,  ,  , di}] uses steps di.
Table[expr, {i,  ,  }, {j,  ,  }, ... ] gives a nested list. The list associated with i is outermost.


Notes

Table evaluates its arguments in a non-standard way (see Section A.4.2).
• Example: Table[f[i],  i, 4 ]LongRightArrow .
Table uses the standard Mathematica iteration specification.
• Example: Table[i-j,  i, 2 ,  j, 2 ]LongRightArrow .
• You can use Table to build up vectors, matrices and tensors.
• Related package: LinearAlgebra`MatrixManipulation`.
• New in Version 1.


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.