OpenMaple representation of a list - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : OpenMaple : Java Application Programming Interface : List Class : OpenMaple/Java/List

List - OpenMaple representation of a list



The com.maplesoft.openmaple.List class represents a Maple list.  List publicly inherits from Algebraic; therefore, it provides all the member functions from the Algebraic class in addition to those listed here.


To create a Last containing arbitrary data, call newList to create an empty List of the specified length.  The elements of the expression sequences are then assigned by calling assign.

Method Summary

void assign( int i, Algebraic val ) throws MapleException


assign sets element i of the list to val.

Algebraic select( int i ) throws MapleException


select returns the element at index i of the list.

int length( ) throws MapleException


length returns the length of the list.

See Also

list, OpenMaple, OpenMaple/Java/Algebraic, OpenMaple/Java/API, OpenMaple/Java/Examples, OpenMaple/Java/Expseq, OpenMaple/Java/Table

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