This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

CasesThread

Array

FilledSmallSquareArray[f, n] generates a list of length n, with elements f[i].

FilledSmallSquareArray[f, , , ... ] generates an array of nested lists, with elements f[, , ... ].

FilledSmallSquareArray[f, , , ... , , , ... ] generates a list using the index origins (default 1).

FilledSmallSquareArray[f, dims, origin, h] uses head h, rather than List, for each level of the array.

FilledSmallSquare Examples: Array[f, 3] LongRightArrow.

FilledSmallSquareArray[f, 2, 3] LongRightArrow generates a matrix.

FilledSmallSquareArray[#1^#2 &, 2, 2] LongRightArrow.

FilledSmallSquareArray[f, 3, 0] LongRightArrow generates an array with index origin 0.

FilledSmallSquareArray[f, 3, 1, Plus] LongRightArrow.

FilledSmallSquare Note that the dimensions given to Array are not in standard Mathematica iterator notation.

FilledSmallSquare See The Mathematica Book: Section 1.8.3 and Section 2.2.6.

FilledSmallSquare See also: Table.

Further Examples

CasesThread