g2o
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
g2o::ceres::Jet< T, N > Struct Template Reference

#include <jet.h>

Public Types

enum  { DIMENSION = N }
 
typedef T Scalar
 

Public Member Functions

 Jet ()
 
 Jet (const T &value)
 
 Jet (const T &value, int k)
 
template<typename Derived >
EIGEN_STRONG_INLINE Jet (const T &a, const Eigen::DenseBase< Derived > &v)
 
Jet< T, N > & operator+= (const Jet< T, N > &y)
 
Jet< T, N > & operator-= (const Jet< T, N > &y)
 
Jet< T, N > & operator*= (const Jet< T, N > &y)
 
Jet< T, N > & operator/= (const Jet< T, N > &y)
 
Jet< T, N > & operator+= (const T &s)
 
Jet< T, N > & operator-= (const T &s)
 
Jet< T, N > & operator*= (const T &s)
 
Jet< T, N > & operator/= (const T &s)
 

Public Attributes

a
 
Eigen::Matrix< T, N, 1 > v
 

Detailed Description

template<typename T, int N>
struct g2o::ceres::Jet< T, N >

Definition at line 172 of file jet.h.

Member Typedef Documentation

◆ Scalar

template<typename T , int N>
typedef T g2o::ceres::Jet< T, N >::Scalar

Definition at line 174 of file jet.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T , int N>
anonymous enum
Enumerator
DIMENSION 

Definition at line 173 of file jet.h.

173{ DIMENSION = N };

Constructor & Destructor Documentation

◆ Jet() [1/4]

template<typename T , int N>
g2o::ceres::Jet< T, N >::Jet ( )
inline

Definition at line 181 of file jet.h.

181: a() { v.setConstant(Scalar()); }
Eigen::Matrix< T, N, 1 > v
Definition jet.h:250

References g2o::ceres::Jet< T, N >::v.

◆ Jet() [2/4]

template<typename T , int N>
g2o::ceres::Jet< T, N >::Jet ( const T &  value)
inlineexplicit

Definition at line 184 of file jet.h.

184 {
185 a = value;
186 v.setConstant(Scalar());
187 }

References g2o::ceres::Jet< T, N >::a, and g2o::ceres::Jet< T, N >::v.

◆ Jet() [3/4]

template<typename T , int N>
g2o::ceres::Jet< T, N >::Jet ( const T &  value,
int  k 
)
inline

Definition at line 190 of file jet.h.

190 {
191 a = value;
192 v.setConstant(Scalar());
193 v[k] = T(1.0);
194 }

References g2o::ceres::Jet< T, N >::a, and g2o::ceres::Jet< T, N >::v.

◆ Jet() [4/4]

template<typename T , int N>
template<typename Derived >
EIGEN_STRONG_INLINE g2o::ceres::Jet< T, N >::Jet ( const T &  a,
const Eigen::DenseBase< Derived > &  v 
)
inline

Definition at line 201 of file jet.h.

202 : a(a), v(v) {}

Member Function Documentation

◆ operator*=() [1/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator*= ( const Jet< T, N > &  y)
inline

Definition at line 215 of file jet.h.

215 {
216 *this = *this * y;
217 return *this;
218 }

◆ operator*=() [2/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator*= ( const T &  s)
inline

Definition at line 236 of file jet.h.

236 {
237 *this = *this * s;
238 return *this;
239 }

◆ operator+=() [1/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator+= ( const Jet< T, N > &  y)
inline

Definition at line 205 of file jet.h.

205 {
206 *this = *this + y;
207 return *this;
208 }

◆ operator+=() [2/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator+= ( const T &  s)
inline

Definition at line 226 of file jet.h.

226 {
227 *this = *this + s;
228 return *this;
229 }

◆ operator-=() [1/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator-= ( const Jet< T, N > &  y)
inline

Definition at line 210 of file jet.h.

210 {
211 *this = *this - y;
212 return *this;
213 }

◆ operator-=() [2/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator-= ( const T &  s)
inline

Definition at line 231 of file jet.h.

231 {
232 *this = *this - s;
233 return *this;
234 }

◆ operator/=() [1/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator/= ( const Jet< T, N > &  y)
inline

Definition at line 220 of file jet.h.

220 {
221 *this = *this / y;
222 return *this;
223 }

◆ operator/=() [2/2]

template<typename T , int N>
Jet< T, N > & g2o::ceres::Jet< T, N >::operator/= ( const T &  s)
inline

Definition at line 241 of file jet.h.

241 {
242 *this = *this / s;
243 return *this;
244 }

Member Data Documentation

◆ a

template<typename T , int N>
T g2o::ceres::Jet< T, N >::a

◆ v

template<typename T , int N>
Eigen::Matrix<T, N, 1> g2o::ceres::Jet< T, N >::v

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