Dimensions - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ArrayTools

  

Dimensions

  

size of an Array in each dimension

 

Calling Sequence

Parameters

Description

Examples

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