javamath.util.math
Class MathObject
java.lang.Object
|
+--javamath.util.math.MathObject
- All Implemented Interfaces:
- MathInterface
- Direct Known Subclasses:
- Permutation, PermutationGroup
- public class MathObject
- extends java.lang.Object
- implements MathInterface
This is the ancestor of all Java mathematical objects that can be
converted to OpenMath objects using the PolyMath library.
|
Method Summary |
java.lang.String |
asASCII()
render as ASCII |
java.lang.String |
asHTML()
render as HTML |
java.lang.String |
asLaTeX()
render as LaTeX without enclosing $ signs. |
java.lang.String |
asMathML()
render as HTML with embedded MathML using WebEQ applet |
java.lang.String |
asOpenMath()
render as XML encoded OpenMath |
javamath.util.math.OMObject |
toOMObject()
Returns an OpenMath object encoding of the mathematical object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MathObject
public MathObject()
toOMObject
public javamath.util.math.OMObject toOMObject()
- Description copied from interface:
MathInterface
- Returns an OpenMath object encoding of the mathematical object.
- Specified by:
toOMObject in interface MathInterface
asASCII
public java.lang.String asASCII()
- Description copied from interface:
MathInterface
- render as ASCII
- Specified by:
asASCII in interface MathInterface
asHTML
public java.lang.String asHTML()
- Description copied from interface:
MathInterface
- render as HTML
- Specified by:
asHTML in interface MathInterface
asMathML
public java.lang.String asMathML()
- Description copied from interface:
MathInterface
- render as HTML with embedded MathML using WebEQ applet
- Specified by:
asMathML in interface MathInterface
asOpenMath
public java.lang.String asOpenMath()
- Description copied from interface:
MathInterface
- render as XML encoded OpenMath
- Specified by:
asOpenMath in interface MathInterface
asLaTeX
public java.lang.String asLaTeX()
- Description copied from interface:
MathInterface
- render as LaTeX without enclosing $ signs.
- Specified by:
asLaTeX in interface MathInterface