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

Online Help

All Products    Maple    MapleSim


rtable_dims

return the bounds of each dimension of an rtable

rtable_num_dims

return the number of dimensions of an rtable

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Calling Sequence

rtable_dims(A)

rtable_num_dims(A)

Parameters

A

-

rtable object

Description

• 

The rtable_dims(A) function, where A is an Array, Matrix, or Vector, returns a sequence of integer ranges representing the bounds of each dimension of rtable A.

  

For a 0-dimensional rtable, NULL is returned. In the case that A is an Array, this is equivalent to op(2, A).

  

For Matrices and Vectors, this function is similar to LinearAlgebra[Dimension].

• 

The rtable_num_dims(A) function, where A is an Array, Matrix, or Vector, returns the number of dimensions of rtable A.

  

This is equivalent to nops([rtable_dims(A)]).

Thread Safety

• 

The rtable_num_dims command is thread-safe as of Maple 15.

• 

For more information on thread safety, see index/threadsafe.

Examples

MMatrix1,2,3,4,5,6

M123456

(1)

For a Matrix, the rtable_dims command returns the row bounds and then the column bounds.

rtable_dimsM

1..2,1..3

(2)

rtable_num_dimsM

2

(3)

See Also

Array

Matrix

op

rtable

Vector