org.sbml.jsbml.math.compiler
public class LibSBMLFormulaCompiler extends FormulaCompiler
DECIMAL_FORMAT, REAL_FORMAT, SCIENTIFIC_FORMAT, underscore
Constructor and Description |
---|
LibSBMLFormulaCompiler() |
Modifier and Type | Method and Description |
---|---|
<T> ASTNode2Value<java.lang.String> |
and(java.util.List<ASTNode2> nodes) |
<T> ASTNode2Value<java.lang.String> |
arccos(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arccosh(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arccot(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arccoth(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arccsc(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arccsch(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arcsec(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arcsech(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arcsin(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arcsinh(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arctan(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
arctanh(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
eq(ASTNode2 left,
ASTNode2 right)
Equal.
|
<T> ASTNode2Value<java.lang.String> |
factorial(ASTNode2 node) |
<T> ASTNode2Value<java.lang.String> |
geq(ASTNode2 left,
ASTNode2 right)
Greater equal.
|
<T> ASTNode2Value<java.lang.String> |
getConstantE() |
<T> ASTNode2Value<java.lang.String> |
getNegativeInfinity() |
<T> ASTNode2Value<java.lang.String> |
getPositiveInfinity() |
<T> ASTNode2Value<java.lang.String> |
gt(ASTNode2 left,
ASTNode2 right)
Greater than.
|
<T> ASTNode2Value<java.lang.String> |
leq(ASTNode2 left,
ASTNode2 right)
Less equal.
|
<T> ASTNode2Value<java.lang.String> |
ln(ASTNode2 node)
Natural logarithm.
|
<T> ASTNode2Value<java.lang.String> |
log(ASTNode2 node)
Logarithm of the given value to base 10.
|
<T> ASTNode2Value<java.lang.String> |
log(ASTNode2 left,
ASTNode2 right)
Logarithm of the given value to the given base.
|
<T> ASTNode2Value<java.lang.String> |
lt(ASTNode2 left,
ASTNode2 right)
Less than.
|
<T> ASTNode2Value<java.lang.String> |
neq(ASTNode2 left,
ASTNode2 right)
Not equal.
|
<T> ASTNode2Value<java.lang.String> |
or(java.util.List<ASTNode2> nodes) |
<T> ASTNode2Value<java.lang.String> |
pow(ASTNode2 left,
ASTNode2 right) |
<T> ASTNode2Value<java.lang.String> |
root(ASTNode2 rootExponent,
ASTNode2 radiant) |
<T> ASTNode2Value<java.lang.String> |
root(double rootExponent,
ASTNode2 radiant) |
<T> ASTNode2Value<java.lang.String> |
sqrt(ASTNode2 node)
Square root.
|
<T> ASTNode2Value<java.lang.String> |
xor(java.util.List<ASTNode2> nodes)
Exclusive or.
|
abs, brackets, ceiling, checkBrackets, checkDenominatorBrackets, compile, compile, compile, compile, compile, compile, cos, cosh, cot, coth, csc, csch, delay, diff, exp, floor, frac, frac, frac, function, function, function, function, getConstantAvogadro, getConstantFalse, getConstantPi, getConstantTrue, getSpecies, isPrefixNotationInLogicalOperations, lambda, lambdaBody, logicalOperation, minus, not, piecewise, plus, pow, relation, root, sec, sech, selector, selector, setPrefixNotationInLogicalOperations, sin, sinh, sqrt, sum, symbolTime, tan, tanh, times, times, uMinus, unknownValue, vector, vector
append, append, concat, concatStringBuilder, encodeForHTML, fill, fill, firstLetterLowerCase, firstLetterUpperCase, getWordForNumber, leadingZeros, newLine, parseSBMLBoolean, parseSBMLDouble, parseSBMLInt, parseSBMLShort, toHTML, toHTML, toString, toString, toXMLAnnotationString, toXMLMessageString, toXMLNotesString
public <T> ASTNode2Value<java.lang.String> arccos(ASTNode2 node) throws SBMLException
arccos
in interface ASTNode2Compiler
arccos
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arccosh(ASTNode2 node) throws SBMLException
arccosh
in interface ASTNode2Compiler
arccosh
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arccot(ASTNode2 node) throws SBMLException
arccot
in interface ASTNode2Compiler
arccot
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arccoth(ASTNode2 node) throws SBMLException
arccoth
in interface ASTNode2Compiler
arccoth
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arccsc(ASTNode2 node) throws SBMLException
arccsc
in interface ASTNode2Compiler
arccsc
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arccsch(ASTNode2 node) throws SBMLException
arccsch
in interface ASTNode2Compiler
arccsch
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arcsec(ASTNode2 node) throws SBMLException
arcsec
in interface ASTNode2Compiler
arcsec
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arcsech(ASTNode2 node) throws SBMLException
arcsech
in interface ASTNode2Compiler
arcsech
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arcsin(ASTNode2 node) throws SBMLException
arcsin
in interface ASTNode2Compiler
arcsin
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arcsinh(ASTNode2 node) throws SBMLException
arcsinh
in interface ASTNode2Compiler
arcsinh
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arctan(ASTNode2 node) throws SBMLException
arctan
in interface ASTNode2Compiler
arctan
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> arctanh(ASTNode2 node) throws SBMLException
arctanh
in interface ASTNode2Compiler
arctanh
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> and(java.util.List<ASTNode2> nodes) throws SBMLException
and
in interface ASTNode2Compiler
and
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> or(java.util.List<ASTNode2> nodes) throws SBMLException
or
in interface ASTNode2Compiler
or
in class FormulaCompiler
nodes
- These values must be interpretable as a Boolean
.SBMLException
public <T> ASTNode2Value<java.lang.String> xor(java.util.List<ASTNode2> nodes) throws SBMLException
ASTNode2Compiler
xor
in interface ASTNode2Compiler
xor
in class FormulaCompiler
nodes
- It must be possible to evaluate the given values to
Boolean
.SBMLException
public <T> ASTNode2Value<java.lang.String> eq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
eq
in interface ASTNode2Compiler
eq
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> neq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
neq
in interface ASTNode2Compiler
neq
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> geq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
geq
in interface ASTNode2Compiler
geq
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> gt(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
gt
in interface ASTNode2Compiler
gt
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> leq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
leq
in interface ASTNode2Compiler
leq
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> lt(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
lt
in interface ASTNode2Compiler
lt
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> getNegativeInfinity()
getNegativeInfinity
in interface ASTNode2Compiler
getNegativeInfinity
in class FormulaCompiler
public <T> ASTNode2Value<java.lang.String> getPositiveInfinity()
getPositiveInfinity
in interface ASTNode2Compiler
getPositiveInfinity
in class FormulaCompiler
public <T> ASTNode2Value<java.lang.String> pow(ASTNode2 left, ASTNode2 right) throws SBMLException
pow
in interface ASTNode2Compiler
pow
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> ln(ASTNode2 node) throws SBMLException
ASTNode2Compiler
ln
in interface ASTNode2Compiler
ln
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> log(ASTNode2 node) throws SBMLException
ASTNode2Compiler
log
in interface ASTNode2Compiler
log
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> log(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compiler
log
in interface ASTNode2Compiler
log
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> getConstantE()
getConstantE
in interface ASTNode2Compiler
getConstantE
in class FormulaCompiler
public <T> ASTNode2Value<java.lang.String> factorial(ASTNode2 node)
factorial
in interface ASTNode2Compiler
factorial
in class FormulaCompiler
public <T> ASTNode2Value<java.lang.String> root(ASTNode2 rootExponent, ASTNode2 radiant) throws SBMLException
root
in interface ASTNode2Compiler
root
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> root(double rootExponent, ASTNode2 radiant) throws SBMLException
root
in interface ASTNode2Compiler
root
in class FormulaCompiler
SBMLException
public <T> ASTNode2Value<java.lang.String> sqrt(ASTNode2 node) throws SBMLException
ASTNode2Compiler
sqrt
in interface ASTNode2Compiler
sqrt
in class FormulaCompiler
node
- This value must be interpretable as a Number
.SBMLException