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=boost::none, OptionalJacobian< M, N2 > H2=boost::none)
 

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 38 of file AdaptAutoDiff.h.

Member Typedef Documentation

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 39 of file AdaptAutoDiff.h.

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 40 of file AdaptAutoDiff.h.

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 43 of file AdaptAutoDiff.h.

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 44 of file AdaptAutoDiff.h.

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 42 of file AdaptAutoDiff.h.

Member Function Documentation

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 = boost::none,
OptionalJacobian< M, N2 >  H2 = boost::none 
)
inline

Definition at line 49 of file AdaptAutoDiff.h.

Member Data Documentation

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

Definition at line 46 of file AdaptAutoDiff.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:03