table - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/table

check for a table

 

Calling Sequence

Parameters

Description

Supertypes

Examples

Calling Sequence

type(e, 'table')

Parameters

e

-

any expression

Description

• 

The expression type(e, 'table') returns the value true if the expression e is a table, and returns the value false otherwise.

• 

An expression is a table if it is created in one of several ways:

  

- by calling the table constructor

  

- by implicit table creation as a result of assignment to an indexed name

  

- by calling a procedure with option remember

• 

All tables are also of type tabular, but are distinct from rtables. Together, tables and rtables make up the tabular type.

• 

For a description of the table data structure and how to create tables, see table.

Supertypes

• 

type/indexable, type/last_name_eval

Examples

> 

T≔table⁡11,red,π

T≔table⁡1=11,2=red,3=π

(1)
> 

type⁡T,table

true

(2)
> 

type⁡table⁡,table

true

(3)
> 

type⁡rtable⁡,table

false

(4)
> 

type⁡rtable⁡,tabular

true

(5)
> 

type⁡a,table

false

(6)
> 

ab≔2

ab≔2

(7)
> 

type⁡a,table

true

(8)
> 

type⁡op⁡4,eval⁡sin,table

true

(9)

See Also

Formats/ByType/table

remember

table

type

type/tabular