dimension

Returns the size of a specified dimension of an array.

Returns the axis dimension of array.  axis must be a non-negative integer less than the rank of array.  An error is signaled if axis is out of bounds for array.

The method for <array> calls element on the result of calling dimensions on the array, using the axis number as the key.

Exported from

Modifiers

open

Arguments

arrayAn instance of <array>.
axisAn instance of <integer>.

Values

dimensionAn instance of <integer>.
The class of sequences whose elements are arranged according to a Cartesian coordinate system.
Returns the collection element associated with a particular key.
Returns the dimensions of an array, as a sequence of integers.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The class of integers.