Sleipnir C++ API
|
#include <sleipnir/autodiff/Jacobian.hpp>
Public Member Functions | |
Jacobian (const VariableMatrix &variables, const VariableMatrix &wrt) noexcept | |
VariableMatrix | Get () const |
const Eigen::SparseMatrix< double > & | Value () |
Profiler & | GetProfiler () |
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.
Evaluates the Jacobian at wrt's value.