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

type/tabular

check for a tabular object

 Calling Sequence type(expr, tabular) type(expr, 'tabular'(R))

Parameters

 expr - any expression R - datatype of elements

Description

 • The type(expr, tabular) function returns true if expr is any one of the following types of Maple objects.

 • The type(expr, 'tabular'(R)) function returns true if expr is a tabular Maple object with elements of type R.

Examples

 > $A≔\mathrm{rtable}\left(\left[\left[1,2,3\right],\left[1,1,1\right],\left[5,7,9\right]\right],\mathrm{subtype}=\mathrm{Matrix},\mathrm{datatype}=\mathrm{integer}\left[2\right]\right)$
 ${A}{≔}\left[\begin{array}{ccc}{1}& {2}& {3}\\ {1}& {1}& {1}\\ {5}& {7}& {9}\end{array}\right]$ (1)
 > $\mathrm{type}\left(A,\mathrm{tabular}\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{type}\left(A,'\mathrm{tabular}'\left(\mathrm{integer}\left[2\right]\right)\right)$
 ${\mathrm{true}}$ (3)