![]() |
WPILibC++ 2027.0.0-alpha-3
|
This class calculates the Jacobian of a vector of variables with respect to a vector of variables. More...
Public Member Functions | |
| Jacobian (Variable variable, Variable wrt) | |
| Constructs a Jacobian object. | |
| Jacobian (VariableMatrix variables, SleipnirMatrixLike auto wrt) | |
| Constructs a Jacobian object. | |
| VariableMatrix | get () const |
| Returns the Jacobian as a VariableMatrix. | |
| const Eigen::SparseMatrix< double > & | value () |
| Evaluates the Jacobian at wrt's value. | |
This class calculates the Jacobian of a vector of variables with respect to a vector of variables.
The Jacobian is only recomputed if the variable expression is quadratic or higher order.
|
inline |
|
inline |
Returns the Jacobian as a VariableMatrix.
This is useful when constructing optimization problems with derivatives in them.
|
inline |