Public Member Functions | List of all members
gtsam::Basis< DERIVED >::DerivativeFunctor Class Reference

#include <Basis.h>

Inheritance diagram for gtsam::Basis< DERIVED >::DerivativeFunctor:
Inheritance graph
[legend]

Public Member Functions

double apply (const typename DERIVED::Parameters &p, OptionalJacobian< -1, -1 > H={}) const
 
 DerivativeFunctor ()
 For serialization. More...
 
 DerivativeFunctor (size_t N, double x)
 
 DerivativeFunctor (size_t N, double x, double a, double b)
 
double operator() (const typename DERIVED::Parameters &p, OptionalJacobian< -1, -1 > H={}) const
 c++ sugar More...
 

Additional Inherited Members

- Protected Member Functions inherited from gtsam::Basis< DERIVED >::DerivativeFunctorBase
 DerivativeFunctorBase ()
 For serialization. More...
 
 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_
 

Detailed Description

template<typename DERIVED>
class gtsam::Basis< DERIVED >::DerivativeFunctor

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.

Definition at line 360 of file Basis.h.

Constructor & Destructor Documentation

◆ DerivativeFunctor() [1/3]

template<typename DERIVED>
gtsam::Basis< DERIVED >::DerivativeFunctor::DerivativeFunctor ( )
inline

For serialization.

Definition at line 363 of file Basis.h.

◆ DerivativeFunctor() [2/3]

template<typename DERIVED>
gtsam::Basis< DERIVED >::DerivativeFunctor::DerivativeFunctor ( size_t  N,
double  x 
)
inline

Definition at line 365 of file Basis.h.

◆ DerivativeFunctor() [3/3]

template<typename DERIVED>
gtsam::Basis< DERIVED >::DerivativeFunctor::DerivativeFunctor ( size_t  N,
double  x,
double  a,
double  b 
)
inline

Definition at line 367 of file Basis.h.

Member Function Documentation

◆ apply()

template<typename DERIVED>
double gtsam::Basis< DERIVED >::DerivativeFunctor::apply ( const typename DERIVED::Parameters &  p,
OptionalJacobian< -1, -1 >  H = {} 
) const
inline

Definition at line 370 of file Basis.h.

◆ operator()()

template<typename DERIVED>
double gtsam::Basis< DERIVED >::DerivativeFunctor::operator() ( const typename DERIVED::Parameters &  p,
OptionalJacobian< -1, -1 >  H = {} 
) const
inline

c++ sugar

Definition at line 376 of file Basis.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:46:15