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

Online Help

All Products    Maple    MapleSim


type/rtable

check for an object of type rtable

 

Calling Sequence

Parameters

Description

Supertypes

Subtypes

Examples

Calling Sequence

type(expr, rtable)

type(expr, 'rtable'(R))

Parameters

expr

-

any expression

R

-

rtable indexing function, rtable option, the name 'square', a type, or an expression sequence of these

Description

• 

The type(expr, rtable) function returns true if expr is any one of the following types of Maple rtables.

  

Array

  

Matrix

  

Vector

  

Vector[column]

  

Vector[row]

• 

The type(expr, 'rtable'(R)) function returns true if expr is a Maple rtable with the indexing functions or options given in R.

  

If R includes the name 'square', the dimensions of the rtable are checked to see if they are all the same size (they do not have to have the same start and end values in the case of an Array).

  

If R is a type expression, then the entries of expr are checked to see if they are all of type R.

  

Note:  It is essential to quote the word rtable in this form of the calling sequence in order to avoid confusion with the rtable(..) constructor function.

Supertypes

• 

type/indexable

Subtypes

• 

type/Array, type/Matrix, type/Vector

Examples

Artable1,2,3,1,1,1,5,7,9,subtype=Matrix

A123111579

(1)

typeA,rtable

true

(2)

typeA,rtablesquare

true

(3)

rtable_optionsA

datatype=anything,subtype=Matrix,storage=rectangular,order=Fortran_order

(4)

typeA,rtabledatatype=anything,order=Fortran_order,square

true

(5)

typeA,rtabledatatype=integer

false

(6)

The R parameter can specify the allowable dimensions of the rtable. For example, 1.. specifies a one-dimensional rtable with index starting at 1; the upper limit is not specified.

typeVector3,rtable1..

true

(7)

typeArray1..3,rtable1..

true

(8)

typeArray0..3,rtable1..

false

(9)

See Also

rtable

rtable_options

table

type

type/tabular