Public Types | Public Member Functions | Private Attributes | List of all members
gtsam::G_x1< X1, X2 > Class Template Reference

#include <numericalDerivative.h>

Public Types

typedef internal::FixedSizeMatrix< X1 >::type Vector
 

Public Member Functions

 G_x1 (const std::function< double(const X1 &, const X2 &)> &f, const X1 &x1, double delta)
 
Vector operator() (const X2 &x2)
 

Private Attributes

double delta_
 
const std::function< double(const X1 &, const X2 &)> & f_
 
X1 x1_
 

Detailed Description

template<class X1, class X2>
class gtsam::G_x1< X1, X2 >

Helper class that computes the derivative of f w.r.t. x1, centered about x1_, as a function of x2

Definition at line 883 of file numericalDerivative.h.

Member Typedef Documentation

◆ Vector

template<class X1 , class X2 >
typedef internal::FixedSizeMatrix<X1>::type gtsam::G_x1< X1, X2 >::Vector

Definition at line 888 of file numericalDerivative.h.

Constructor & Destructor Documentation

◆ G_x1()

template<class X1 , class X2 >
gtsam::G_x1< X1, X2 >::G_x1 ( const std::function< double(const X1 &, const X2 &)> &  f,
const X1 &  x1,
double  delta 
)
inline

Definition at line 890 of file numericalDerivative.h.

Member Function Documentation

◆ operator()()

template<class X1 , class X2 >
Vector gtsam::G_x1< X1, X2 >::operator() ( const X2 &  x2)
inline

Definition at line 894 of file numericalDerivative.h.

Member Data Documentation

◆ delta_

template<class X1 , class X2 >
double gtsam::G_x1< X1, X2 >::delta_
private

Definition at line 886 of file numericalDerivative.h.

◆ f_

template<class X1 , class X2 >
const std::function<double(const X1&, const X2&)>& gtsam::G_x1< X1, X2 >::f_
private

Definition at line 884 of file numericalDerivative.h.

◆ x1_

template<class X1 , class X2 >
X1 gtsam::G_x1< X1, X2 >::x1_
private

Definition at line 885 of file numericalDerivative.h.


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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:23:52