WPILibC++ 2025.1.1
|
This class calculates the Jacobian of a vector of variables with respect to a vector of variables. More...
Public Member Functions | |
Jacobian (const VariableMatrix &variables, const VariableMatrix &wrt) noexcept | |
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. | |
Profiler & | GetProfiler () |
Returns the profiler. | |
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.
|
inlinenoexcept |
|
inline |
Returns the Jacobian as a VariableMatrix.
This is useful when constructing optimization problems with derivatives in them.
|
inline |
Returns the profiler.
|
inline |
Evaluates the Jacobian at wrt's value.