7#include <Eigen/SparseCore>
43 : m_jacobian{variable, wrt} {}
56 const Eigen::SparseVector<double>&
Value() {
57 m_g = m_jacobian.Value();
68 Eigen::SparseVector<double> m_g;
#define SLEIPNIR_DLLEXPORT
Definition SymbolExports.hpp:34
Definition Gradient.hpp:24
const Eigen::SparseVector< double > & Value()
Definition Gradient.hpp:56
Gradient(Variable variable, const VariableMatrix &wrt) noexcept
Definition Gradient.hpp:42
Gradient(Variable variable, Variable wrt) noexcept
Definition Gradient.hpp:32
Profiler & GetProfiler()
Definition Gradient.hpp:65
VariableMatrix Get() const
Definition Gradient.hpp:51
Definition Jacobian.hpp:25
Definition Profiler.hpp:13
Definition VariableMatrix.hpp:28
VariableMatrix T() const
Definition VariableMatrix.hpp:758
Definition Variable.hpp:33
Definition Expression.hpp:18