gtsam 4.1.1
gtsam
|
An instance of a DerivativeFunctor calculates f'(x;p) at a given x
, applied to Parameters p
.
When given a scalar value x and a specific N*1 vector of Parameters, this functor returns the scalar derivative value of the function at x, possibly with Jacobians wrpt the parameters.
Public Member Functions | |
DerivativeFunctor () | |
For serialization. | |
DerivativeFunctor (size_t N, double x) | |
DerivativeFunctor (size_t N, double x, double a, double b) | |
double | apply (const typename DERIVED::Parameters &p, OptionalJacobian< -1, -1 > H=boost::none) const |
double | operator() (const typename DERIVED::Parameters &p, OptionalJacobian< -1, -1 > H=boost::none) const |
c++ sugar | |
Additional Inherited Members | |
Protected Member Functions inherited from gtsam::Basis< DERIVED >::DerivativeFunctorBase | |
DerivativeFunctorBase () | |
For serialization. | |
DerivativeFunctorBase (size_t N, double x) | |
DerivativeFunctorBase (size_t N, double x, double a, double b) | |
void | print (const std::string &s="") const |
Protected Attributes inherited from gtsam::Basis< DERIVED >::DerivativeFunctorBase | |
Weights | weights_ |