ASTNode2Compilerpublic class LaTeXCompiler extends StringTools implements ASTNode2Compiler
ASTNode2Value objects into a LaTeX String to be
included into scientific writings or to be displayed in a GUI.| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
bottomrule |
Requires LaTeX package booktabs.
|
java.lang.String |
CONSTANT_E |
|
java.lang.String |
CONSTANT_FALSE |
|
static java.lang.String |
CONSTANT_PI |
The constant pi
|
java.lang.String |
CONSTANT_TRUE |
|
static java.lang.String |
descriptionBegin |
Surrounded by new line symbols.
|
static java.lang.String |
descriptionEnd |
Surrounded by new line symbols.
|
static java.lang.String |
eqBegin |
Surrounded by new line symbols.
|
static java.lang.String |
eqEnd |
End equation; cf. eqBegin.
|
static java.lang.String |
leftBrace |
Left parenthesis.
|
static java.lang.String |
leftQuotationMark |
An opening quotation mark.
|
static java.lang.String |
lineBreak |
This is a LaTeX line break.
|
static java.lang.String |
midrule |
Produces a fancy line in tables.
|
static java.lang.String |
NEGATIVE_ININITY |
|
static java.lang.String |
or |
|
static java.lang.String |
POSITIVE_INFINITY |
|
static java.lang.String |
rightBrace |
|
static java.lang.String |
rightQuotationMark |
An closing quotation mark.
|
static java.lang.String |
toprule |
Needed for the beginning of a table.
|
static java.lang.String |
wedge |
|
static java.lang.String |
xor |
DECIMAL_FORMAT, REAL_FORMAT, SCIENTIFIC_FORMAT, underscore| Constructor | Description |
|---|---|
LaTeXCompiler() |
|
LaTeXCompiler(boolean namesInEquations) |
| Modifier and Type | Method | Description |
|---|---|---|
<T> ASTNode2Value<java.lang.String> |
abs(ASTNode2 value) |
The absolute value represented by the given
ASTNode2. |
<T> ASTNode2Value<java.lang.String> |
and(java.util.List<ASTNode2> nodes) |
|
<T> ASTNode2Value<java.lang.String> |
arccos(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arccosh(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arccot(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arccoth(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arccsc(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arccsch(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arcsec(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arcsech(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arcsin(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arcsinh(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arctan(ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
arctanh(ASTNode2 value) |
|
java.lang.StringBuilder |
brackets(java.lang.Object formula) |
Encloses the given formula in brackets.
|
<T> ASTNode2Value<java.lang.String> |
ceiling(ASTNode2 value) |
|
java.lang.StringBuilder |
colorbox(java.lang.String color,
java.lang.Object what) |
|
<T> ASTNode2Value<java.lang.String> |
compile(double mantissa,
int exponent,
java.lang.String units) |
Creates an
ASTNode2Value that represents a real number in
scientific notation, i.e., mantissa * 10^exponent, and the given units. |
<T> ASTNode2Value<java.lang.String> |
compile(double real,
java.lang.String units) |
|
<T> ASTNode2Value<java.lang.Integer> |
compile(int integer,
java.lang.String units) |
|
<T> ASTNode2Value<java.lang.String> |
compile(java.lang.String name) |
A compiler will also have to deal with a name.
|
<T> ASTNode2Value<java.lang.String> |
compile(CallableSBase variable) |
|
<T> ASTNode2Value<java.lang.String> |
compile(Compartment c) |
This method returns the correct LaTeX expression for a function which
returns the size of a compartment.
|
<T> ASTNode2Value<java.lang.String> |
cos(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
cosh(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
cot(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
coth(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
csc(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
csch(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
delay(java.lang.String delayName,
ASTNode2 x,
ASTNode2 delay) |
Evaluates delay functions.
|
java.lang.StringBuffer |
descriptionItem(java.lang.String item,
java.lang.Object description) |
This method simplifies the process of creating descriptions.
|
<T> ASTNode2Value<java.lang.String> |
eq(ASTNode2 left,
ASTNode2 right) |
Equal.
|
<T> ASTNode2Value<java.lang.String> |
exp(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
factorial(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
floor(ASTNode2 value) |
|
java.lang.StringBuffer |
format(double value) |
This method returns a
StringBuffer representing a properly
LaTeX formatted number. |
<T> ASTNode2Value<java.lang.String> |
frac(int numerator,
int denominator) |
A fraction of two int values.
|
java.lang.StringBuilder |
frac(java.lang.Object numerator,
java.lang.Object denominator) |
|
<T> ASTNode2Value<java.lang.String> |
frac(ASTNode2 numerator,
ASTNode2 denominator) |
Fraction of two
ASTNode2s |
<T> ASTNode2Value<java.lang.String> |
function(java.lang.String functionDefinitionName,
java.util.List<ASTNode2> args) |
|
<T> ASTNode2Value<java.lang.String> |
function(FunctionDefinition fun,
java.util.List<ASTNode2> args) |
|
<T> ASTNode2Value<java.lang.String> |
function(T functionDefinitionName,
java.util.List<ASTNode2> args) |
|
<T> ASTNode2Value<java.lang.String> |
geq(ASTNode2 left,
ASTNode2 right) |
Greater equal.
|
<T> ASTNode2Value<java.lang.String> |
getConstantAvogadro(java.lang.String name) |
Creates an
ASTNode2Value that represent's Avogadro's number. |
<T> ASTNode2Value<java.lang.String> |
getConstantE() |
|
<T> ASTNode2Value<java.lang.String> |
getConstantFalse() |
|
<T> ASTNode2Value<java.lang.String> |
getConstantPi() |
|
<T> ASTNode2Value<java.lang.String> |
getConstantTrue() |
|
<T> ASTNode2Value<java.lang.String> |
getNegativeInfinity() |
|
static java.lang.String |
getNumbering(long number) |
|
<T> ASTNode2Value<java.lang.String> |
getPositiveInfinity() |
|
<T> ASTNode2Value<java.lang.String> |
gt(ASTNode2 left,
ASTNode2 right) |
Greater than.
|
java.lang.StringBuilder |
href(java.lang.String target,
java.lang.Object text) |
Creates a hyper link to the given target and the text to be visible in
the document.
|
java.lang.StringBuilder |
hyperref(java.lang.String target,
java.lang.Object text) |
|
boolean |
isPrintNameIfAvailable() |
|
java.lang.StringBuilder |
label(java.lang.String id) |
|
<T> ASTNode2Value<java.lang.String> |
lambda(java.util.List<ASTNode2> nodes) |
The body of a
FunctionDefinition. |
<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 base,
ASTNode2 value) |
Logarithm of the given value to the given base.
|
java.lang.StringBuffer |
longtableHead(java.lang.String columnDef,
java.lang.String caption,
java.lang.String headLine) |
Creates a head for a longtable in LaTeX.
|
<T> ASTNode2Value<java.lang.String> |
lt(ASTNode2 left,
ASTNode2 right) |
Less than.
|
static java.lang.String |
maskSpecialChars(java.lang.String string) |
Masks all special characters used by LaTeX with a backslash including
hyphen symbols.
|
static java.lang.String |
maskSpecialChars(java.lang.String string,
boolean hyphen) |
|
java.lang.StringBuffer |
math(java.lang.Object formula) |
Encloses the given formula in dollar symbols (inline math mode).
|
java.lang.StringBuilder |
mathrm(char symbol) |
|
java.lang.StringBuilder |
mathrm(java.lang.String text) |
|
java.lang.StringBuilder |
mathtext(java.lang.String text) |
|
java.lang.StringBuilder |
mathtt(java.lang.String id) |
Returns the LaTeX code to set the given String in type writer font within
a math environment.
|
java.lang.StringBuilder |
mbox(java.lang.String s) |
|
<T> ASTNode2Value<java.lang.String> |
minus(java.util.List<ASTNode2> nodes) |
Subtraction.
|
<T> ASTNode2Value<java.lang.String> |
neq(ASTNode2 left,
ASTNode2 right) |
Not equal.
|
<T> ASTNode2Value<java.lang.String> |
not(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
or(java.util.List<ASTNode2> nodes) |
|
<T> ASTNode2Value<java.lang.String> |
piecewise(java.util.List<ASTNode2> nodes) |
|
<T> ASTNode2Value<java.lang.String> |
plus(java.util.List<ASTNode2> nodes) |
|
<T> ASTNode2Value<java.lang.String> |
pow(ASTNode2 base,
ASTNode2 exponent) |
|
<T> ASTNode2Value<java.lang.String> |
root(double rootExponent,
ASTNode2 radiant) |
|
<T> ASTNode2Value<java.lang.String> |
root(ASTNode2 rootExponent,
ASTNode2 value) |
|
<T> ASTNode2Value<java.lang.String> |
sec(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
sech(ASTNode2 node) |
|
java.lang.StringBuffer |
section(java.lang.String title,
boolean numbering) |
|
<T> ASTNode2Value<java.lang.String> |
selector(java.util.List<ASTNode2> nodes) |
|
void |
setPrintNameIfAvailable(boolean printNameIfAvailable) |
|
<T> ASTNode2Value<java.lang.String> |
sin(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
sinh(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
sqrt(ASTNode2 value) |
Square root.
|
java.lang.StringBuffer |
subsection(java.lang.String title,
boolean numbering) |
|
java.lang.StringBuffer |
subsubsection(java.lang.String title,
boolean numbering) |
|
<T> ASTNode2Value<java.lang.String> |
symbolTime(java.lang.String time) |
The simulation time.
|
<T> ASTNode2Value<java.lang.String> |
tan(ASTNode2 node) |
|
<T> ASTNode2Value<java.lang.String> |
tanh(ASTNode2 node) |
|
java.lang.StringBuilder |
textcolor(java.lang.String color,
java.lang.Object text) |
|
java.lang.StringBuilder |
texttt(java.lang.String id) |
Returns the LaTeX code to set the given String in type writer font.
|
java.lang.String |
timeDerivative(java.lang.String variable) |
|
<T> ASTNode2Value<java.lang.String> |
times(java.util.List<ASTNode2> values) |
Product of all given
ASTNode2s. |
<T> ASTNode2Value<java.lang.String> |
uMinus(ASTNode2 value) |
Unary minus, i.e., negation of the given
ASTNode2. |
<T> ASTNode2Value<java.lang.String> |
unknownValue() |
Dealing with a malformed
ASTNode2. |
java.lang.StringBuffer |
usepackage(java.lang.String latexPackage,
java.lang.String... options) |
Creates a usepackage command for the given package with the optional
options.
|
<T> ASTNode2Value<java.lang.String> |
vector(java.util.List<ASTNode2> nodes) |
Dealing with a vector.
|
<T> ASTNode2Value<java.lang.String> |
xor(java.util.List<ASTNode2> nodes) |
Exclusive or.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, concat, concatStringBuilder, encodeForHTML, fill, fill, firstLetterLowerCase, firstLetterUpperCase, getMessage, getWordForNumber, leadingZeros, newLine, parseSBMLBoolean, parseSBMLBooleanStrict, parseSBMLDouble, parseSBMLDoubleStrict, parseSBMLInt, parseSBMLShort, parseSBMLShortStrict, toHTML, toHTML, toString, toString, toXMLAnnotationString, toXMLMessageString, toXMLNotesStringpublic static final java.lang.String bottomrule
end{longtable}
command and a new line.public static final java.lang.String CONSTANT_PI
public static final java.lang.String descriptionBegin
public static final java.lang.String descriptionEnd
public static final java.lang.String eqBegin
public static final java.lang.String eqEnd
public static final java.lang.String leftBrace
public static final java.lang.String leftQuotationMark
public static final java.lang.String lineBreak
public static final java.lang.String midrule
public static final java.lang.String NEGATIVE_ININITY
public static final java.lang.String or
public static final java.lang.String POSITIVE_INFINITY
public static final java.lang.String rightBrace
public static final java.lang.String rightQuotationMark
public static final java.lang.String toprule
public static final java.lang.String wedge
public static final java.lang.String xor
public final java.lang.String CONSTANT_E
public final java.lang.String CONSTANT_FALSE
public final java.lang.String CONSTANT_TRUE
public LaTeXCompiler()
public LaTeXCompiler(boolean namesInEquations)
namesInEquations - public static java.lang.String getNumbering(long number)
number - public static java.lang.String maskSpecialChars(java.lang.String string)
string - public static java.lang.String maskSpecialChars(java.lang.String string,
boolean hyphen)
string - hyphen - if true a hyphen symbol is introduced at each position where a
special character has to be masked anyway.public <T> ASTNode2Value<java.lang.String> abs(ASTNode2 value) throws SBMLException
ASTNode2CompilerASTNode2.abs in interface ASTNode2Compilervalue - Must be interpretable as a Number.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> and(java.util.List<ASTNode2> nodes) throws SBMLException
and in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arccos(ASTNode2 value) throws SBMLException
arccos in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arccosh(ASTNode2 value) throws SBMLException
arccosh in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arccot(ASTNode2 value) throws SBMLException
arccot in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arccoth(ASTNode2 value) throws SBMLException
arccoth in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arccsc(ASTNode2 value) throws SBMLException
arccsc in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arccsch(ASTNode2 value) throws SBMLException
arccsch in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arcsec(ASTNode2 value) throws SBMLException
arcsec in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arcsech(ASTNode2 value) throws SBMLException
arcsech in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arcsin(ASTNode2 value) throws SBMLException
arcsin in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arcsinh(ASTNode2 value) throws SBMLException
arcsinh in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arctan(ASTNode2 value) throws SBMLException
arctan in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> arctanh(ASTNode2 value) throws SBMLException
arctanh in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuilder brackets(java.lang.Object formula)
formula - public <T> ASTNode2Value<java.lang.String> ceiling(ASTNode2 value) throws SBMLException
ceiling in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuilder colorbox(java.lang.String color,
java.lang.Object what)
color - what - public <T> ASTNode2Value<java.lang.String> compile(CallableSBase variable)
compile in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> compile(Compartment c)
compile in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> compile(double mantissa, int exponent, java.lang.String units)
ASTNode2CompilerASTNode2Value that represents a real number in
scientific notation, i.e., mantissa * 10^exponent, and the given units.compile in interface ASTNode2Compilermantissa - The number to be multiplied with ten to the power of the given
exponent.exponent - The exponent for the multiplier ten.units - The identifier of the units object associated with the number
represented by this element. Can be null if no units have been
defined.public <T> ASTNode2Value<java.lang.String> compile(double real, java.lang.String units)
compile in interface ASTNode2Compilerunits - A String representing the Unit of the given number.
This can be the identifier of a UnitDefinition in the
model or a literal in Unit.Kind. Can be null if no units
have been defined.public <T> ASTNode2Value<java.lang.Integer> compile(int integer, java.lang.String units)
compile in interface ASTNode2Compilerunits - A String representing the Unit of the given number.
This can be the identifier of a UnitDefinition in the
model or a literal in Unit.Kind. Can be null if no units
have been defined.public <T> ASTNode2Value<java.lang.String> compile(java.lang.String name)
ASTNode2CompilerSpecies in the
system. In case of numerical computation, the ASTNodeCompiler
must create an ASTNode2Value representing the current value of
this Species.compile in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> cos(ASTNode2 node) throws SBMLException
cos in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> cosh(ASTNode2 node) throws SBMLException
cosh in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> cot(ASTNode2 node) throws SBMLException
cot in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> coth(ASTNode2 node) throws SBMLException
coth in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> csc(ASTNode2 node) throws SBMLException
csc in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> csch(ASTNode2 node) throws SBMLException
csch in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> delay(java.lang.String delayName, ASTNode2 x, ASTNode2 delay) throws SBMLException
ASTNode2Compilerdelay in interface ASTNode2CompilerdelayName - the name of this delay function.delay - an expression of a positive duration time (the amoutn of
delay)SBMLExceptionpublic java.lang.StringBuffer descriptionItem(java.lang.String item,
java.lang.Object description)
item - e.g., "my item"description - e.g., "my description"public <T> ASTNode2Value<java.lang.String> eq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compilereq in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> exp(ASTNode2 node) throws SBMLException
exp in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> factorial(ASTNode2 node) throws SBMLException
factorial in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> floor(ASTNode2 value) throws SBMLException
floor in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuffer format(double value)
StringBuffer representing a properly
LaTeX formatted number.value - public <T> ASTNode2Value<java.lang.String> frac(ASTNode2 numerator, ASTNode2 denominator) throws SBMLException
ASTNode2CompilerASTNode2sfrac in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> frac(int numerator, int denominator)
ASTNode2Compilerfrac in interface ASTNode2Compilerpublic java.lang.StringBuilder frac(java.lang.Object numerator,
java.lang.Object denominator)
numerator - denominator - public <T> ASTNode2Value<java.lang.String> function(FunctionDefinition fun, java.util.List<ASTNode2> args) throws SBMLException
function in interface ASTNode2Compilerargs - Values to be inserted into the parameter list of the
function.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> function(java.lang.String functionDefinitionName, java.util.List<ASTNode2> args) throws SBMLException
function in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> function(T functionDefinitionName, java.util.List<ASTNode2> args) throws SBMLException
function in interface ASTNode2Compilerargs - Values to be inserted into the parameter list of the
function.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> geq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compilergeq in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> getConstantAvogadro(java.lang.String name)
ASTNode2CompilerASTNode2Value that represent's Avogadro's number.
Optionally, the compiler may associate the given name with this number.getConstantAvogadro in interface ASTNode2Compilername - An optional name for Avogadro's number.public <T> ASTNode2Value<java.lang.String> getConstantE()
getConstantE in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> getConstantFalse()
getConstantFalse in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> getConstantPi()
getConstantPi in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> getConstantTrue()
getConstantTrue in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> getNegativeInfinity()
getNegativeInfinity in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> getPositiveInfinity()
getPositiveInfinity in interface ASTNode2Compilerpublic <T> ASTNode2Value<java.lang.String> gt(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compilergt in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuilder href(java.lang.String target,
java.lang.Object text)
target - The target to which this link points to.text - The text to be written in the link.public java.lang.StringBuilder hyperref(java.lang.String target,
java.lang.Object text)
target - text - public boolean isPrintNameIfAvailable()
public java.lang.StringBuilder label(java.lang.String id)
id - public <T> ASTNode2Value<java.lang.String> lambda(java.util.List<ASTNode2> nodes) throws SBMLException
ASTNode2CompilerFunctionDefinition.lambda in interface ASTNode2Compilernodes - Place holders for arguments.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> leq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compilerleq in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> ln(ASTNode2 node) throws SBMLException
ASTNode2Compilerln in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> log(ASTNode2 node) throws SBMLException
ASTNode2Compilerlog in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> log(ASTNode2 base, ASTNode2 value) throws SBMLException
ASTNode2Compilerlog in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuffer longtableHead(java.lang.String columnDef,
java.lang.String caption,
java.lang.String headLine)
columnDef - without leading and ending brackets, e.g., "lrrc",caption - caption of this table without leading and ending bracketsheadLine - table head without leading and ending brackets and without
double backslashes at the endpublic <T> ASTNode2Value<java.lang.String> lt(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compilerlt in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuffer math(java.lang.Object formula)
formula - public java.lang.StringBuilder mathrm(char symbol)
symbol - public java.lang.StringBuilder mathrm(java.lang.String text)
text - public java.lang.StringBuilder mathtext(java.lang.String text)
text - public java.lang.StringBuilder mathtt(java.lang.String id)
id - public java.lang.StringBuilder mbox(java.lang.String s)
s - public <T> ASTNode2Value<java.lang.String> minus(java.util.List<ASTNode2> nodes) throws SBMLException
ASTNode2Compilerminus in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> neq(ASTNode2 left, ASTNode2 right) throws SBMLException
ASTNode2Compilerneq in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> not(ASTNode2 node) throws SBMLException
not in interface ASTNode2Compilernode - This value must be interpretable as a Boolean.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> or(java.util.List<ASTNode2> nodes) throws SBMLException
or in interface ASTNode2Compilernodes - These values must be interpretable as a Boolean.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> piecewise(java.util.List<ASTNode2> nodes) throws SBMLException
piecewise in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> plus(java.util.List<ASTNode2> nodes) throws SBMLException
plus in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> pow(ASTNode2 base, ASTNode2 exponent) throws SBMLException
pow in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> root(ASTNode2 rootExponent, ASTNode2 value) throws SBMLException
root in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> root(double rootExponent, ASTNode2 radiant) throws SBMLException
root in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> sec(ASTNode2 node) throws SBMLException
sec in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> sech(ASTNode2 node) throws SBMLException
sech in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuffer section(java.lang.String title,
boolean numbering)
title - numbering - public <T> ASTNode2Value<java.lang.String> selector(java.util.List<ASTNode2> nodes) throws SBMLException
selector in interface ASTNode2CompilerSBMLExceptionpublic void setPrintNameIfAvailable(boolean printNameIfAvailable)
printNameIfAvailable - public <T> ASTNode2Value<java.lang.String> sin(ASTNode2 node) throws SBMLException
sin in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> sinh(ASTNode2 node) throws SBMLException
sinh in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> sqrt(ASTNode2 value) throws SBMLException
ASTNode2Compilersqrt in interface ASTNode2Compilervalue - This value must be interpretable as a Number.SBMLExceptionpublic java.lang.StringBuffer subsection(java.lang.String title,
boolean numbering)
title - numbering - public java.lang.StringBuffer subsubsection(java.lang.String title,
boolean numbering)
title - numbering - public <T> ASTNode2Value<java.lang.String> symbolTime(java.lang.String time)
ASTNode2CompilersymbolTime in interface ASTNode2Compilertime - The name of the time symbol.ASTNode2Value that represents the current time.public <T> ASTNode2Value<java.lang.String> tan(ASTNode2 node) throws SBMLException
tan in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> tanh(ASTNode2 node) throws SBMLException
tanh in interface ASTNode2CompilerSBMLExceptionpublic java.lang.StringBuilder textcolor(java.lang.String color,
java.lang.Object text)
color - text - public java.lang.StringBuilder texttt(java.lang.String id)
id - public java.lang.String timeDerivative(java.lang.String variable)
variable - public <T> ASTNode2Value<java.lang.String> times(java.util.List<ASTNode2> values) throws SBMLException
ASTNode2CompilerASTNode2s.times in interface ASTNode2Compilervalues - These values must be interpretable to Number.SBMLExceptionpublic <T> ASTNode2Value<java.lang.String> uMinus(ASTNode2 value) throws SBMLException
ASTNode2CompilerASTNode2.uMinus in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> unknownValue()
ASTNode2CompilerASTNode2.unknownValue in interface ASTNode2Compilerpublic java.lang.StringBuffer usepackage(java.lang.String latexPackage,
java.lang.String... options)
latexPackage - the name of the latex packageoptions - options without commaspublic <T> ASTNode2Value<java.lang.String> vector(java.util.List<ASTNode2> nodes) throws SBMLException
ASTNode2Compilervector in interface ASTNode2CompilerSBMLExceptionpublic <T> ASTNode2Value<java.lang.String> xor(java.util.List<ASTNode2> nodes) throws SBMLException
ASTNode2Compilerxor in interface ASTNode2Compilernodes - It must be possible to evaluate the given values to
Boolean.SBMLException