rhs()#

DiscreteModel.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 \(\fhat(\qhat, \u)\) where the model is given by \(\qhat_{j+1} = \fhat(\qhat_{j}, \u_{j})\).

Parameters
state(r,) ndarray

State vector \(\qhat\).

input_(m,) ndarray or None

Input vector \(\u\).

Returns
nextstate(r,) ndarray

Evaluation of the right-hand side of the model.