jacobian()#
- OperatorTemplate.jacobian(state: ndarray, input_=None) ndarray [source]#
Construct the state Jacobian of the operator.
If \([\![\q]\!]_{i}\) denotes the \(i\)-th entry of a vector \(\q\), then the \((i,j)\)-th entry of the state Jacobian is given by
\[[\![\ddqhat\Ophat(\qhat,\u)]\!]_{i,j} = \frac{\partial}{\partial[\![\qhat]\!]_j} [\![\Ophat(\qhat,\u)]\!]_i.\]- Parameters:
- state(r,) ndarray
State vector.
- input_(m,) ndarray or float or None
Input vector.
- Returns:
- jac(r, r) ndarray
State Jacobian.