amici.ode_export.Expression¶
-
class
amici.ode_export.
Expression
(identifier, name, value)[source]¶ An Expressions is a recurring elements in symbolic formulas. Specifying this may yield more compact expression which may lead to substantially shorter model compilation times, but may also reduce model simulation time, abbreviated by w
-
__init__
(identifier, name, value)[source] Create a new Expression instance.
- Parameters
identifier (
sympy.core.symbol.Symbol
) – unique identifier of the Expressionname (
str
) – individual name of the Expression (does not need to be unique)value (
sympy.core.expr.Expr
) – formula
Methods Summary
__init__
(identifier, name, value)Create a new Expression instance.
get_id
()ModelQuantity identifier
get_name
()ModelQuantity name
get_val
()ModelQuantity value
Methods
-
__init__
(identifier, name, value)[source]¶ Create a new Expression instance.
- Parameters
identifier (
sympy.core.symbol.Symbol
) – unique identifier of the Expressionname (
str
) – individual name of the Expression (does not need to be unique)value (
sympy.core.expr.Expr
) – formula
-
get_id
()¶ ModelQuantity identifier
- Return type
- Returns
identifier of the ModelQuantity
-
get_val
()¶ ModelQuantity value
- Return type
- Returns
value of the ModelQuantity
-