jacobian()#
- _ParametricModel.jacobian(parameter, *args, **kwargs)[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; \bmfu)\) 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(\bfmu)_{j+1} = \Ophat(\qhat(\bfmu)_{j}, \u_{j}; \bfmu)\) (discrete time)
\(\hat{\mathbf{g}} = \Ophat(\qhat(\bfmu), \u; \bfmu)\) (steady state)
- Parameters
- parameter(p,) ndarray
Parameter value \(\bfmu\).
- args
Positional arguments to
ModelClass.jacobian()
.- kwargs
Keyword arguments to
ModelClass.jacobian()
.
- Returns
- jac(r, r) ndarray
State Jacobian of the right-hand side of the model.
Notes
For repeated
jacobian()
calls with the same parameter value, useevaluate()
to first get the nonparametric model corresponding to the parameter value.