check for an expression of type MVIndex (Matrix or Vector index) - Maple Help

Online Help

All Products    Maple    MapleSim


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

type/MVIndex - check for an expression of type MVIndex (Matrix or Vector index)

Calling Sequence

type(expr, MVIndex)

Parameters

expr

-

any expression

Description

• 

The type(expr, MVIndex) function returns true if expr is an integer, an integer range, or a list whose elements are either integers or ranges of integers.

Examples

type1,MVIndex

true

(1)

type4..1,MVIndex

true

(2)

type1,3..5,7,8,10..1,MVIndex

true

(3)

See Also

integer, list, Matrix, range, type, type/integer, 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