sbmlmath.cfunction¶
Handling of <csymbol> functions
Module Attributes
|
The SBML |
The SBML |
Classes
|
Represents |
|
Produces a SBML |
|
Produces a SBML |
- class sbmlmath.cfunction.CFunction(*args, definition_url=None, encoding='text', **kwargs)[source]¶
Bases:
UndefinedFunctionRepresents
<csymbol>functions.Examples:
rateOf(),delay(), distributions from the distrib package.See also https://www.w3.org/TR/MathML2/chapter4.html#contm.deffun.
- class sbmlmath.cfunction.Delay(*args, **kwargs)[source]¶
Bases:
CFunctionProduces a SBML
delay()function.Usually, it’s preferable to use the
delay()function. This class can be used if a delay function with a different name is needed.Examples
>>> from sympy.abc import a >>> my_delay = Delay("my_delay") >>> my_delay(a) my_delay(a) >>> delay(a) == my_delay(a) True
- class sbmlmath.cfunction.RateOf(*args, **kwargs)[source]¶
Bases:
CFunctionProduces a SBML
rateOf()function.Usually, it’s preferable to use the
rate_of()function. This class can be used if a rateOf function with a different name is needed.Examples
>>> from sympy.abc import a >>> my_rate_of = RateOf("my_rate_of") >>> my_rate_of(a) my_rate_of(a) >>> rate_of(a) == my_rate_of(a) True >>> rate_of(1) 0
- class sbmlmath.cfunction.delay(*args)¶
Bases:
AppliedUndefThe SBML
delay()function.
- sbmlmath.cfunction.rate_of¶
The SBML
rateOf()function.