Java representation of an algebraic object
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.
toString converts the Maple object into a string, which when evaluated returns the same object.
eval returns an Algebraic representing the result of evaluating the current Maple object.
evalhf returns a double, which is the result of calling evalhf on the current Maple object.
uneval returns an Algebraic, which is the result of wrapping uneval quotes around the current object.
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.
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.
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.
isNULL returns true if the Algebraic object is a representation of the Maple NULL, otherwise it returns false.
isSet returns true if the Algebraic object is a representation of a Maple set, otherwise it returns false.
isStop returns true if the Algebraic object is a representation of a Maple stop DAG, otherwise it returns false.
Download Help Document