type/indexable - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

type/indexable

check for an indexable object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, indexable)

type(expr, 'indexable'(R))

Parameters

expr

-

expression

R

-

datatype of elements

Description

• 

The type(expr, indexable) calling sequence returns true if expr is of type sequential, type string, or type tabular. This includes any one of the following types of indexable Maple objects.

list

set

string

table

rtable

array

Array

Matrix

Vector

Vector[column]

Vector[row]

 

• 

The type(expr, 'indexable'(R)) calling sequence returns true if expr is a indexable Maple object containing elements of type R.

Examples

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

A123111579

(1)

typeA,indexable

true

(2)

typeA,'indexable'integer2

true

(3)

See Also

numelems

selection

type

type/array

type/Array

type/list

type/Matrix

type/rtable

type/sequential

type/set

type/string

type/table

type/tabular

type/Vector