type/rtable - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/rtable

type/rtable

check for an object of type rtable

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, rtable)

type(expr, 'rtable'(R))

Parameters

expr

-

any expression

R

-

rtable indexing function, rtable option, the name 'square', 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).

  

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.

Examples

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

A:=123111579

(1)

typeA,rtable

true

(2)

typeA,'rtable'square

true

(3)

rtable_optionsA

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

(4)

typeA,'rtable'datatype=anything,order=Fortran_order,square

true

(5)

typeA,'rtable'datatype=integer

false

(6)

See Also

rtable

rtable_options

table

type

type[tabular]

 


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