check for an indexable object - Maple 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

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

A:=rtable1,2,3,1,1,1,5,7,9,subtype=Matrix,datatype=integer2

A:=123111579

(1)

typeA,indexable

true

(2)

typeA,'indexable'integer2

true

(3)

See Also

selection, type, type[array], type[Array], type[list], type[Matrix], type[rtable], type[sequential], type[set], type[string], type[table], type[tabular], type[Vector]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam