Macros | Functions
quat_slerp.cpp File Reference
#include <iostream>
#include <Eigen/Geometry>
#include <bench/BenchTimer.h>
Include dependency graph for quat_slerp.cpp:

Go to the source code of this file.

Macros

#define BENCH(FUNC)
 

Functions

int main ()
 
template<typename Q >
EIGEN_DONT_INLINE Q nlerp (const Q &a, const Q &b, typename Q::Scalar t)
 
template<typename T >
T sin_over_x (T x)
 
template<typename Q >
EIGEN_DONT_INLINE Q slerp_eigen (const Q &a, const Q &b, typename Q::Scalar t)
 
template<typename Q >
EIGEN_DONT_INLINE Q slerp_gael (const Q &a, const Q &b, typename Q::Scalar t)
 
template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy (const Q &a, const Q &b, typename Q::Scalar t)
 
template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy_nlerp (const Q &a, const Q &b, typename Q::Scalar t)
 
template<typename Q >
EIGEN_DONT_INLINE Q slerp_rw (const Q &a, const Q &b, typename Q::Scalar t)
 

Macro Definition Documentation

#define BENCH (   FUNC)
Value:
{\
BenchTimer t; \
for(int k=0; k<2; ++k) {\
t.start(); \
for(int i=0; i<1000000; ++i) \
FUNC(a,b,s); \
t.stop(); \
} \
cout << " " << #FUNC << " => \t " << t.value() << "s\n"; \
}
Scalar * b
Definition: benchVecAdd.cpp:17
for(size_t i=1;i< poses.size();++i)
Array33i a
RealScalar s
Point2 t(10, 10)

Function Documentation

int main ( void  )

Definition at line 144 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q nlerp ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 11 of file quat_slerp.cpp.

template<typename T >
T sin_over_x ( T  x)
inline

Definition at line 76 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_eigen ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 17 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_gael ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 109 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 23 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy_nlerp ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 45 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_rw ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 85 of file quat_slerp.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:33