Public Member Functions | Private Types | Private Attributes | List of all members
gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 > Class Template Reference

#include <AdaptAutoDiff.h>

Public Member Functions

VectorT operator() (const Vector1 &v1, const Vector2 &v2, OptionalJacobian< M, N1 > H1={}, OptionalJacobian< M, N2 > H2={})
 

Private Types

typedef Eigen::Matrix< double, M, N1, Eigen::RowMajorRowMajor1
 
typedef Eigen::Matrix< double, M, N2, Eigen::RowMajorRowMajor2
 
typedef Eigen::Matrix< double, N1, 1 > Vector1
 
typedef Eigen::Matrix< double, N2, 1 > Vector2
 
typedef Eigen::Matrix< double, M, 1 > VectorT
 

Private Attributes

FUNCTOR f
 

Detailed Description

template<typename FUNCTOR, int M, int N1, int N2>
class gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >

The AdaptAutoDiff class uses ceres-style autodiff to adapt a ceres-style Function evaluation, i.e., a function FUNCTOR that defines an operator template<typename T> bool operator()(const T* const, const T* const, T* predicted) const; For now only binary operators are supported.

Definition at line 35 of file AdaptAutoDiff.h.

Member Typedef Documentation

◆ RowMajor1

template<typename FUNCTOR , int M, int N1, int N2>
typedef Eigen::Matrix<double, M, N1, Eigen::RowMajor> gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::RowMajor1
private

Definition at line 36 of file AdaptAutoDiff.h.

◆ RowMajor2

template<typename FUNCTOR , int M, int N1, int N2>
typedef Eigen::Matrix<double, M, N2, Eigen::RowMajor> gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::RowMajor2
private

Definition at line 37 of file AdaptAutoDiff.h.

◆ Vector1

template<typename FUNCTOR , int M, int N1, int N2>
typedef Eigen::Matrix<double, N1, 1> gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::Vector1
private

Definition at line 40 of file AdaptAutoDiff.h.

◆ Vector2

template<typename FUNCTOR , int M, int N1, int N2>
typedef Eigen::Matrix<double, N2, 1> gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::Vector2
private

Definition at line 41 of file AdaptAutoDiff.h.

◆ VectorT

template<typename FUNCTOR , int M, int N1, int N2>
typedef Eigen::Matrix<double, M, 1> gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::VectorT
private

Definition at line 39 of file AdaptAutoDiff.h.

Member Function Documentation

◆ operator()()

template<typename FUNCTOR , int M, int N1, int N2>
VectorT gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::operator() ( const Vector1 v1,
const Vector2 v2,
OptionalJacobian< M, N1 >  H1 = {},
OptionalJacobian< M, N2 >  H2 = {} 
)
inline

Definition at line 46 of file AdaptAutoDiff.h.

Member Data Documentation

◆ f

template<typename FUNCTOR , int M, int N1, int N2>
FUNCTOR gtsam::AdaptAutoDiff< FUNCTOR, M, N1, N2 >::f
private

Definition at line 43 of file AdaptAutoDiff.h.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:50:59