ArrayDims - return the bounds of each dimension of an Array
ArrayNumDims - return the number of dimensions of an Array
|
Calling Sequence
|
|
ArrayDims(A)
ArrayNumDims(A)
|
|
Description
|
|
•
|
The ArrayDims(A) function returns a sequence of integer ranges representing the bounds of each dimension of Array A.
|
|
This function is equivalent to op(2, A).
|
•
|
The ArrayNumDims(A) function returns the number of dimensions of Array A.
|
|
This function is equivalent to nops([ArrayDims(A)]).
|
•
|
These functions cannot be used on Matrices or Vectors.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?