array

Creates an empty vector or matrix.

Syntax

array(size1, [, size2])

Argument

size1
A scalar defining the number of elements in the row vector.
[, size2]
An optional scalar defining the number of columns in the matrix.

Example

Templex Expression Result
{array(3)} 0, 0, 0
{array(2,3)} {0, 0, 0}, {0, 0, 0}

Comments

All elements of the array are initialized to zero.

array is not valid when used with curve-editing functions.