amici.ode_model.Expression

class amici.ode_model.Expression(identifier, name, value)[source]

An Expression 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

Methods Summary

__init__(identifier, name, value)

Create a new Expression instance.

get_id()

ModelQuantity identifier

get_name()

ModelQuantity name

get_val()

ModelQuantity value

set_val(val)

Set ModelQuantity value

Methods

__init__(identifier, name, value)[source]

Create a new Expression instance.

Parameters
get_id()

ModelQuantity identifier

Return type

sympy.core.symbol.Symbol

Returns

identifier of the ModelQuantity

get_name()

ModelQuantity name

Return type

str

Returns

name of the ModelQuantity

get_val()

ModelQuantity value

Return type

sympy.core.expr.Expr

Returns

value of the ModelQuantity

set_val(val)

Set ModelQuantity value

Returns

value of the ModelQuantity