Algebraic - Maple Help

Online Help

All Products    Maple    MapleSim


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

Algebraic

Java representation of an algebraic object

 

Description

Method Summary

Description

• 

The com.maplesoft.openmaple.Algebraic class is the base class for every Java OpenMaple class that represents a Maple object.  Its member functions provide the basic operations useful for any Maple object.

Method Summary

String Algebraic.toString()

• 

toString converts the Maple object into a string, which when evaluated returns the same object.

Algebraic Algebraic.eval()

• 

eval returns an Algebraic representing the result of evaluating the current Maple object.

double Algebraic.evalhf()

• 

evalhf returns a double, which is the result of calling evalhf on the current Maple object.

Algebraic Algebraic.uneval()

• 

uneval returns an Algebraic, which is the result of wrapping uneval quotes around the current object.

Algebraic Algebraic.unique()

• 

unique returns an Algebraic, which represents the unique Maple object for the value of the current Algebraic.  If the current Algebraic is already unique, then a reference to the current object is returned.

void Algebraic.dispose()

• 

dispose removes the link between the Java Algebraic and the Maple expression.  The allows Maple to collect and reuse the memory associated with the Maple Expression.  Once an Algebraic has been disposed it is an error to call any member function except isDisposed.  For more information on memory issues, see OpenMaple/Java/memory.

boolean Algebraic.isDisposed()

• 

isDisposed returns true if the current Algebraic has been disposed and false otherwise. For more information on memory issues, see OpenMaple/Java/memory.

boolean Algebraic.dagEquals( Algebraic )

• 

dagEquals compares two Algebraic objects.  If they represent the same Maple DAG, it returns true, otherwise it returns false.

boolean Algebraic.isNULL()

• 

isNULL returns true if the Algebraic object is a representation of the Maple NULL, otherwise it returns false.

boolean Algebraic.isSet()

• 

isSet returns true if the Algebraic object is a representation of a Maple set, otherwise it returns false.

boolean Algebraic.isStop()

• 

isStop returns true if the Algebraic object is a representation of a Maple stop DAG, otherwise it returns false.

See Also

OpenMaple

OpenMaple/Java/Algebraic

OpenMaple/Java/API

OpenMaple/Java/ComplexNumeric

OpenMaple/Java/Examples

OpenMaple/Java/Expseq

OpenMaple/Java/List

OpenMaple/Java/memory

OpenMaple/Java/Name

OpenMaple/Java/Numeric

OpenMaple/Java/Procedure

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