Array

WMA link


Array[f, n]

returns the n-element list {f[1], ..., f[n]}.

Array[f, n, a]

returns the n-element list {f[a], ..., f[a + n]}.

Array[f, {n, m}, {a, b}]

returns an n-by-m matrix created by applying f to indices ranging from (ab) to (a + nb + m).

Array[f, dims, origins, h]

returns an expression with the specified dimensions and index origins, with head h (instead of List).

ConstantArray