rhs()#

_InterpolatedModel.rhs(parameter, *args, **kwargs)#

Evaluate the right-hand side of the model by applying each operator and summing the results.

This is the function \(\Ophat(\qhat, \u; \bfmu)\) where the model can be written as one of the following:

  • \(\ddt\qhat(t; \bfmu) = \Ophat(\qhat(t; \bfmu), \u(t); \bfmu)\) (continuous time)

  • \(\qhat_{j+1}(\bfmu) = \Ophat(\qhat_j(\bfmu), \u_j; \bfmu)\) (discrete time)

  • \(\hat{\mathbf{g}} = \Ophat(\qhat(\bmfu), \u; \bfmu)\) (steady state)

Parameters
parameter(p,) ndarray

Parameter value \(\bfmu\).

args

Positional arguments to ModelClass.rhs().

kwargs

Keyword arguments to ModelClass.rhs().

Returns
evaluation(r,) ndarray

Evaluation of the right-hand side of the model.

Notes

For repeated rhs() calls with the same parameter value, use evaluate() to first get the nonparametric model corresponding to the parameter value.