public class ArraysCompiler extends Object implements ASTNodeCompiler
ASTNode object to a real number.| Constructor and Description |
|---|
ArraysCompiler()
Constructs an ArraysCompiler object.
|
ArraysCompiler(ArraysCompiler obj)
Clone constructor
|
public ArraysCompiler()
public ArraysCompiler(ArraysCompiler obj)
obj - the instance to clonepublic ArraysCompiler clone()
public boolean isSetidToValue()
true, if idToValue contains at least one element.true, if idToValue contains at least one element,
otherwise false.public Map<String,Double> getMapIdToValue()
public void setidToValue(Map<String,Double> idToValue)
idToValue - public boolean unsetidToValue()
true, if idToValue contain at least one element,
otherwise false.true, if idToValue contain at least one element,
otherwise false.public Double addValue(String name, double value)
The idToValue is initialized if necessary.
name - the element name to add to the mapvalue - the value of the element to add to the mapMap.put(K, V)public double removeField(String id)
id - the id of the element to be removed from the list.public double getValue(String name)
name - the id of the element to get.public int getFieldCount()
ArraysCompiler.public ASTNodeValue abs(ASTNode value) throws SBMLException
abs in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue and(List<ASTNode> values) throws SBMLException
and in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arccos(ASTNode value) throws SBMLException
arccos in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arccosh(ASTNode value) throws SBMLException
arccosh in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arccot(ASTNode value) throws SBMLException
arccot in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arccoth(ASTNode value) throws SBMLException
arccoth in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arccsc(ASTNode value) throws SBMLException
arccsc in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arccsch(ASTNode value) throws SBMLException
arccsch in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arcsec(ASTNode value) throws SBMLException
arcsec in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arcsech(ASTNode value) throws SBMLException
arcsech in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arcsin(ASTNode value) throws SBMLException
arcsin in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arcsinh(ASTNode value) throws SBMLException
arcsinh in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arctan(ASTNode value) throws SBMLException
arctan in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue arctanh(ASTNode value) throws SBMLException
arctanh in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue ceiling(ASTNode value) throws SBMLException
ceiling in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue compile(Compartment c)
compile in interface ASTNodeCompilerpublic ASTNodeValue compile(double mantissa, int exponent, String units)
compile in interface ASTNodeCompilerpublic ASTNodeValue compile(double real, String units)
compile in interface ASTNodeCompilerpublic ASTNodeValue compile(int integer, String units)
compile in interface ASTNodeCompilerpublic ASTNodeValue compile(CallableSBase variable) throws SBMLException
compile in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue compile(String name)
compile in interface ASTNodeCompilerpublic ASTNodeValue cos(ASTNode value) throws SBMLException
cos in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue cosh(ASTNode value) throws SBMLException
cosh in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue cot(ASTNode value) throws SBMLException
cot in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue coth(ASTNode value) throws SBMLException
coth in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue csc(ASTNode value) throws SBMLException
csc in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue csch(ASTNode value) throws SBMLException
csch in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue delay(String delayName, ASTNode x, ASTNode delay, String timeUnits) throws SBMLException
delay in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue eq(ASTNode left, ASTNode right) throws SBMLException
eq in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue exp(ASTNode value) throws SBMLException
exp in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue factorial(ASTNode value) throws SBMLException
factorial in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue floor(ASTNode value) throws SBMLException
floor in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue frac(ASTNode numerator, ASTNode denominator) throws SBMLException
frac in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue frac(int numerator, int denominator) throws SBMLException
frac in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue function(FunctionDefinition functionDefinition, List<ASTNode> args) throws SBMLException
function in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue function(String functionDefinitionName, List<ASTNode> args) throws SBMLException
function in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue geq(ASTNode left, ASTNode right) throws SBMLException
geq in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue getConstantAvogadro(String name)
getConstantAvogadro in interface ASTNodeCompilerpublic ASTNodeValue getConstantE()
getConstantE in interface ASTNodeCompilerpublic ASTNodeValue getConstantFalse()
getConstantFalse in interface ASTNodeCompilerpublic ASTNodeValue getConstantPi()
getConstantPi in interface ASTNodeCompilerpublic ASTNodeValue getConstantTrue()
getConstantTrue in interface ASTNodeCompilerpublic ASTNodeValue getNegativeInfinity() throws SBMLException
getNegativeInfinity in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue getPositiveInfinity()
getPositiveInfinity in interface ASTNodeCompilerpublic ASTNodeValue gt(ASTNode left, ASTNode right) throws SBMLException
gt in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue lambda(List<ASTNode> values) throws SBMLException
lambda in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue leq(ASTNode left, ASTNode right) throws SBMLException
leq in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue ln(ASTNode value) throws SBMLException
ln in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue log(ASTNode value) throws SBMLException
log in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue log(ASTNode base, ASTNode value) throws SBMLException
log in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue lt(ASTNode left, ASTNode right) throws SBMLException
lt in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue minus(List<ASTNode> values) throws SBMLException
minus in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue neq(ASTNode left, ASTNode right) throws SBMLException
neq in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue not(ASTNode value) throws SBMLException
not in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue or(List<ASTNode> values) throws SBMLException
or in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue piecewise(List<ASTNode> values) throws SBMLException
piecewise in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue plus(List<ASTNode> values) throws SBMLException
plus in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue pow(ASTNode base, ASTNode exponent) throws SBMLException
pow in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue root(ASTNode rootExponent, ASTNode radiant) throws SBMLException
root in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue root(double rootExponent, ASTNode radiant) throws SBMLException
root in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue sec(ASTNode value) throws SBMLException
sec in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue sech(ASTNode value) throws SBMLException
sech in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue selector(List<ASTNode> nodes) throws SBMLException
selector in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue sin(ASTNode value) throws SBMLException
sin in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue sinh(ASTNode value) throws SBMLException
sinh in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue sqrt(ASTNode radiant) throws SBMLException
sqrt in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue symbolTime(String time)
symbolTime in interface ASTNodeCompilerpublic ASTNodeValue tan(ASTNode value) throws SBMLException
tan in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue tanh(ASTNode value) throws SBMLException
tanh in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue times(List<ASTNode> values) throws SBMLException
times in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue uMinus(ASTNode value) throws SBMLException
uMinus in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue unknownValue() throws SBMLException
unknownValue in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue vector(List<ASTNode> nodes) throws SBMLException
vector in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue xor(List<ASTNode> values) throws SBMLException
xor in interface ASTNodeCompilerSBMLExceptionpublic ASTNodeValue max(List<ASTNode> values)
max in interface ASTNodeCompilerpublic ASTNodeValue min(List<ASTNode> values)
min in interface ASTNodeCompilerpublic ASTNodeValue quotient(List<ASTNode> values)
quotient in interface ASTNodeCompilerpublic ASTNodeValue rem(List<ASTNode> values)
rem in interface ASTNodeCompilerpublic ASTNodeValue implies(List<ASTNode> values)
implies in interface ASTNodeCompilerpublic ASTNodeValue getRateOf(ASTNode name)
getRateOf in interface ASTNodeCompilerCopyright © 2009–2018. All rights reserved.