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

Online Help

All Products    Maple    MapleSim


Indexable

Python representation of a Maple indexable

 

Description

Method Summary

Superclass

Direct Subclasses

Description

• 

The maple.Indexable class represents Maple objects of type indexable.

Method Summary

• 

maple.Indexable inherits all the methods defined on Expression objects.

• 

The following additional methods are defined on any Indexable object and invoke the specified implementation in Maple.

Method name

Usage

Maple implementation

__contains__

y in x

Check if container x contains the value y

__iter__

iter x

Return iterator to traverse the container x

__len__

len(x)

Number of elements in the container x

Superclass

• 

Expression

Direct Subclasses

• 

ExpressionSequence

• 

List

• 

Set

• 

RTable

• 

Table

See Also

OpenMaple/Python

OpenMaple/Python/Examples

OpenMaple/Python/Expression

OpenMaple/Python/ExpressionSequence

OpenMaple/Python/List

OpenMaple/Python/Name

OpenMaple/Python/RTable

OpenMaple/Python/Set

OpenMaple/Python/Table