dimensions

Returns the dimensions of an array, as a sequence of integers.  The consequences are undefined if the resulting sequence is modified.  This function forms the basis for all the other array operations.  Each concrete subclass of <array> must either provide or inherit an implementation of this function.

Exported from

Modifiers

open

Arguments

arrayAn instance of <array>.

Values

sequenceAn instance of <sequence>.  The elements of this sequence will be instances of <integer>.
Summary
Returns the dimensions of an array, as a sequence of integers.
The method on <vector> returns a sequence whose single element is the size of the vector.

Functions

dimensions

The method on <vector> returns a sequence whose single element is the size of the vector.

The class of arrays of rank one (i.e., exactly one dimension).
The class of sequences whose elements are arranged according to a Cartesian coordinate system.
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 collections whose keys are consecutive integers starting from zero.
The class of integers.