| Package | edu.stanford.covertlab.util |
| Class | public class MathML |
Supports the following variable and numeric types:
| variable | <ci> |
| float | <cn> |
| integer | <cn> |
| boolean | <cn> |
Supports the following operators:
| + | <plus> |
| - | <minus> |
| /td> | <times> |
| / | <divide> |
| ^ | <power> |
| % | <quotient> |
| ! | <not> |
| || | <or> |
| && | <and> |
Supports the following relations
| == | <eq> (overloaded with assignment operator) |
| != | <neq> |
| > | <gt> |
| < | <lt> |
| >= | <geq> |
| <= | <leq> |
Supports assignment
| = | <eq> (overloaded with equality relation) |
See http://www.w3.org/TR/MathML2/ for complete definition of MathML specification.
Used by the CellML and SBML export methods of the network manager class.
See also
| Method | Defined by | ||
|---|---|---|---|
|
infix2MathML(infix:String, numberProperties:String = ""):String
[static]
| MathML | ||
|
mathML2infix(mathML:String):String
[static]
| MathML | ||
| Method | Defined by | ||
|---|---|---|---|
|
infix2Prefix(infix:String):Object
[static]
| MathML | ||
|
mathML2Prefix(xml:XML):Object
[static]
| MathML | ||
|
prefix2Infix(prefix:Object):String
[static]
| MathML | ||
|
prefix2MathML(prefix:Object, numberProperties:String = ""):String
[static]
| MathML | ||
| infix2MathML | () | method |
public static function infix2MathML(infix:String, numberProperties:String = ""):StringParameters
infix:String |
|
numberProperties:String (default = "") |
String |
| infix2Prefix | () | method |
protected static function infix2Prefix(infix:String):ObjectParameters
infix:String |
Object |
| mathML2infix | () | method |
public static function mathML2infix(mathML:String):StringParameters
mathML:String |
String |
| mathML2Prefix | () | method |
protected static function mathML2Prefix(xml:XML):ObjectParameters
xml:XML |
Object |
| prefix2Infix | () | method |
protected static function prefix2Infix(prefix:Object):StringParameters
prefix:Object |
String |
| prefix2MathML | () | method |
protected static function prefix2MathML(prefix:Object, numberProperties:String = ""):StringParameters
prefix:Object |
|
numberProperties:String (default = "") |
String |