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

#include <Basis.h>

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

Public Member Functions

double apply (const typename DERIVED::Parameters &p, OptionalJacobian<-1, -1 > H={}) const
 Regular 1D evaluation. More...
 
 EvaluationFunctor ()
 For serialization. More...
 
 EvaluationFunctor (size_t N, double x)
 Constructor with interval [a,b]. More...
 
 EvaluationFunctor (size_t N, double x, double a, double b)
 Constructor with interval [a,b]. More...
 
double operator() (const typename DERIVED::Parameters &p, OptionalJacobian<-1, -1 > H={}) const
 c++ sugar More...
 
void print (const std::string &s="") const
 

Protected Attributes

Weights weights_
 

Detailed Description

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

An instance of an EvaluationFunctor calculates f(x;p) at a given x, applied to Parameters p. This functor is used to evaluate a parameterized function at a given scalar value x. When given a specific N*1 vector of Parameters, returns the scalar value of the function at x, possibly with Jacobians wrpt the parameters.

Definition at line 127 of file Basis.h.

Constructor & Destructor Documentation

◆ EvaluationFunctor() [1/3]

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

For serialization.

Definition at line 133 of file Basis.h.

◆ EvaluationFunctor() [2/3]

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

Constructor with interval [a,b].

Definition at line 136 of file Basis.h.

◆ EvaluationFunctor() [3/3]

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

Constructor with interval [a,b].

Definition at line 140 of file Basis.h.

Member Function Documentation

◆ apply()

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

Regular 1D evaluation.

Definition at line 144 of file Basis.h.

◆ operator()()

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

c++ sugar

Definition at line 151 of file Basis.h.

◆ print()

template<typename DERIVED>
void gtsam::Basis< DERIVED >::EvaluationFunctor::print ( const std::string &  s = "") const
inline

Definition at line 156 of file Basis.h.

Member Data Documentation

◆ weights_

template<typename DERIVED>
Weights gtsam::Basis< DERIVED >::EvaluationFunctor::weights_
protected

Definition at line 129 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