List - OpenMaple representation of a list
|
Description
|
|
•
|
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.
|
|
|
|
Download Help Document
Was this information helpful?