|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
CASession is an interface representing a session with a computer algebra (CA) system. A CA system is typically accessed remotely, thus this interface is for use with RMI. This interface is roughly that outlined in the paper S. Linton and A. Solomon, OpenMath, IAMC and GAP (in proceedings of ISSAC 99/IAMC workshop)
| Method Summary | |
void |
assignOpenMath(java.lang.String varname,
javamath.server.cas.OMObject obj)
Send an Openmath object to the computer algebra system and store it in variable varname. |
void |
closeSession()
|
javamath.server.cas.OMObject |
evaluateOpenMath(javamath.server.cas.OMObject obj)
Send an Openmath object to the computer algebra system and return an Openmath object as a result. |
java.lang.String |
getNativeError()
Retrieves the error message generated by the last command sent to the compute engine. |
java.lang.String |
getNativeOutput()
Retrieves the output of the last command sent to the compute engine. |
java.lang.String |
nativeEvaluate(java.lang.String input)
Equivalent to sendNativeCommand composed with getNativeOutput |
javamath.server.cas.OMObject |
retrieveOpenMath(java.lang.String varname)
Retrieve the object stored in variable varname in the compute engine as an OpenMath object. |
void |
sendNativeCommand(java.lang.String command)
Send a command in the native language of the compute engine. |
| Method Detail |
public javamath.server.cas.OMObject evaluateOpenMath(javamath.server.cas.OMObject obj)
throws java.rmi.RemoteException
public void assignOpenMath(java.lang.String varname,
javamath.server.cas.OMObject obj)
throws java.rmi.RemoteException
public javamath.server.cas.OMObject retrieveOpenMath(java.lang.String varname)
throws java.rmi.RemoteException
public java.lang.String nativeEvaluate(java.lang.String input)
throws java.rmi.RemoteException
public void sendNativeCommand(java.lang.String command)
throws java.rmi.RemoteException
public java.lang.String getNativeOutput()
throws java.rmi.RemoteException
public java.lang.String getNativeError()
throws java.rmi.RemoteException
public void closeSession()
throws java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||