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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : OpenMaple/Python/List

List

Python representation of a Maple list

 

Description

Method Summary

Superclass

Examples

Description

• 

The maple.List class represents Maple objects of type list.

Method Summary

• 

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

• 

It implements the collections.abc.Sequence base abstract class from the collections.abc module.

• 

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

Method name

Usage

Maple implementation

__reversed__(x)

reversed(x)

Return iterator to traverse x in reverse order

• 

A maple.List object may be transformed to a Python list using the list command.

Superclass

• 

Indexable

Examples

See Also

OpenMaple/Python

OpenMaple/Python/Examples

OpenMaple/Python/Expression

OpenMaple/Python/Name

OpenMaple/Python/RTable

OpenMaple/Python/Set

OpenMaple/Python/Table