Interface Functions
SymbolicIndexingInterface.isvariable
— Functionisvariable(sys, sym)
Check whether the given sym
is a variable in sys
.
SymbolicIndexingInterface.variableindex
— Functionvariableindex(sys, sym)
Return the index of the given variable sym
in sys
, or nothing
otherwise.
SymbolicIndexingInterface.isparameter
— Functionisparameter(sys, sym)
Check whether the given sym
is a parameter in sys
.
SymbolicIndexingInterface.parameterindex
— Functionparameterindex(sys, sym)
Return the index of the given parameter sym
in sys
, or nothing
otherwise.
SymbolicIndexingInterface.isindependent_variable
— Functionisindependent_variable(sys, sym)
Check whether the given sym
is an independent variable in sys
.
SymbolicIndexingInterface.isobserved
— Functionisobserved(sys, sym)
Check whether the given sym
is an observed value in sys
.
SymbolicIndexingInterface.observed
— Functionobserved(sys, sym)
Return the observed function of the given sym
in sys
. The returned function should accept a timeseries if sys
has an independent variable, and return the observed values for the given sym
.
SymbolicIndexingInterface.istimedependent
— Functionistimedependent(sys)
Check if sys
has time as (one of) its independent variables.
SymbolicIndexingInterface.constant_structure
— Functionconstant_structure(sys)
Check if sys
has a constant structure. Constant structure systems do not change the number of variables or parameters over time.