This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Array

 Arraygenerates a list of length n, with elements . Arraygenerates an array of nested lists, with elements . Arraygenerates a list using the index origins (default ). Arrayuses head h, rather than List, for each level of the array.
Generate a array:
Generate a array:
Use index origin instead of :
 Out[1]=
 Out[2]=

Generate a array:
 Out[1]=
Generate a array:
 Out[2]=

Use index origin instead of :
 Out[1]=
 Out[2]=
Use to pick up a sequence of indices:
Use Plus instead of List to combine elements:
 Applications   (4)
matrix of 0s:
Totally antisymmetric tensor:
Lower-triangular matrix:
Matrix with generic symbolic entries:
Use it to see the effects of some linear algebra functions:
ConstantArray and Array are equivalent:
When c is a machine number, ConstantArray is much faster for large arrays:
Array can be generated using Table:
Set up the Table limit specifications:
Use Apply to splice them into a Table command:
The result is identical to the array generated using Array:
SparseArray gives a sparse representation of Array:
The results are Equal:
The objects are not identical, but the represented arrays are:
Array of powers:
Array of GCDs:
Array of arrays: