rhs()#

_NonparametricModel.rhs(state, input_=None)[source]#

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

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

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

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

  • \(\widehat{\mathbf{g}} = \Ophat(\qhat, \u)\) (steady state)

Parameters
state(r,) ndarray

State vector.

input_(m,) ndarray or None

Input vector corresponding to the state.

Returns
evaluation(r,) ndarray

Evaluation of the right-hand side of the model.