size of an Array in each dimension - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Low-level Manipulation : Matrices, Vectors, and Arrays : ArrayTools : ArrayTools/Dimensions

ArrayTools[Dimensions] - size of an Array in each dimension

Calling Sequence

Dimensions(M)

Parameters

M

-

Array, list, Matrix, Vector

Description

• 

The Dimensions(M) function returns the equivalent of [rtable_dims(M)], but works on lists as well.

• 

When M is a scalar the result will always be [ 1..1 ].

• 

This function is part of the ArrayTools package, so it can be used in the short form Dimensions(..) only after executing the command with(ArrayTools).  However, it can always be accessed through the long form of the command by using ArrayTools[Dimensions](..).

Examples

withArrayTools:

Dimensions1,2,3,4

1..2,1..2

(1)

See Also

ArrayTools, ArrayTools[Size], rtable_dims


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam