type/rtable
check for an object of type rtable
Calling Sequence
Parameters
Description
Supertypes
Subtypes
Examples
type(expr, rtable)
type(expr, 'rtable'(R))
expr
-
any expression
R
rtable indexing function, rtable option, the name 'square', a type, or an expression sequence of these
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.
type/indexable
type/Array, type/Matrix, type/Vector
A≔rtable⁡1,2,3,1,1,1,5,7,9,subtype=Matrix
A≔123111579
type⁡A,rtable
true
type⁡A,rtable⁡square
rtable_options⁡A
datatype=anything,subtype=Matrix,storage=rectangular,order=Fortran_order
type⁡A,rtable⁡datatype=anything,order=Fortran_order,square
type⁡A,rtable⁡datatype=integer
false
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.
type⁡Vector⁡3,rtable⁡1..
type⁡Array⁡1..3,rtable⁡1..
type⁡Array⁡0..3,rtable⁡1..
See Also
rtable
rtable_options
table
type
type/tabular
Download Help Document