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

Online Help

All Products    Maple    MapleSim


type/indexed

check for an object of type indexed

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, indexed)

type(expr, indexed(itype))

Parameters

expr

-

any expression

itype

-

type

Description

• 

The call type(expr, indexed) checks if expr is of type indexed. It returns true if expr is of type indexed, and false otherwise.

• 

If a parameter itype is given, the type command also checks if each of the indices are of type itype.

Examples

type1,indexed

false

(1)

type12,indexed

false

(2)

type0.5,indexed

false

(3)

typeString,indexed

false

(4)

typeName,indexed

false

(5)

typeab,indexed

true

(6)

typeab,indexed

false

(7)

typea3,indexedinteger

true

(8)

typeab,c,indexedname

true

(9)

typeab,3,indexedname

false

(10)

See Also

indexed

type

type/atomic

type/indexedfun

type/name