jacobian()#

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

Construct and sum the state Jacobian of each model operator.

This the derivative of the right-hand side of the model with respect to the state, i.e., the function \(\ddqhat\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 \(\qhat\).

input_(m,) ndarray or None

Input vector \(\u\).

Returns
jac(r, r) ndarray

State Jacobian of the right-hand side of the model.