jhypercomplex.external_systems
Class Mathematica

java.lang.Object
  extended by jhypercomplex.external_systems.Mathematica

public abstract class Mathematica
extends java.lang.Object


Constructor Summary
Mathematica()
           
 
Method Summary
static Hypernumber differentiate(Hypernumber nabla, Hypernumber function)
           
static java.lang.String firstProcess(java.lang.String expression)
           
static java.lang.String lastProcess(java.lang.String expression)
           
static java.lang.String process(java.lang.String expression)
          An expression is sent to Mathematica and the result returned.
static Hypernumber processComponentwise(Hypernumber hypernumber)
          The expression of each component of a hypernumber is sent to Mathematica and the result is written back to the respective component.
static void processPP(java.lang.String expression)
           
static java.lang.String processStep(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mathematica

public Mathematica()
Method Detail

process

public static java.lang.String process(java.lang.String expression)
                                throws com.wolfram.jlink.MathLinkException
An expression is sent to Mathematica and the result returned.

Parameters:
expression - Mathematica conform expression.
Returns:
Mathematica result.
Throws:
com.wolfram.jlink.MathLinkException

firstProcess

public static java.lang.String firstProcess(java.lang.String expression)
                                     throws com.wolfram.jlink.MathLinkException
Throws:
com.wolfram.jlink.MathLinkException

processStep

public static java.lang.String processStep(java.lang.String expression)
                                    throws com.wolfram.jlink.MathLinkException
Throws:
com.wolfram.jlink.MathLinkException

lastProcess

public static java.lang.String lastProcess(java.lang.String expression)
                                    throws com.wolfram.jlink.MathLinkException
Throws:
com.wolfram.jlink.MathLinkException

processComponentwise

public static Hypernumber processComponentwise(Hypernumber hypernumber)
                                        throws java.lang.Exception
The expression of each component of a hypernumber is sent to Mathematica and the result is written back to the respective component.

Parameters:
expression - Mathematica conform expression.
Returns:
Resulting hypernumber.
Throws:
java.lang.Exception

differentiate

public static Hypernumber differentiate(Hypernumber nabla,
                                        Hypernumber function)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

processPP

public static void processPP(java.lang.String expression)
                      throws com.wolfram.jlink.MathLinkException
Throws:
com.wolfram.jlink.MathLinkException