![]() |
Sleipnir C++ API
|
#include <sleipnir/autodiff/jacobian.hpp>
Public Member Functions | |
| Jacobian (Variable< Scalar > variable, Variable< Scalar > wrt) | |
| Jacobian (Variable< Scalar > variable, SleipnirMatrixLike< Scalar > auto wrt) | |
| Jacobian (VariableMatrix< Scalar > variables, SleipnirMatrixLike< Scalar > auto wrt) | |
| VariableMatrix< Scalar > | get () const |
| const Eigen::SparseMatrix< Scalar > & | 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.
| Scalar | Scalar type. |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the Jacobian as a VariableMatrix.
This is useful when constructing optimization problems with derivatives in them.
|
inline |