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

◆ BENCH

#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
RealScalar s
Point2 t(10, 10)

Function Documentation

◆ main()

int main ( void  )

Definition at line 144 of file quat_slerp.cpp.

◆ nlerp()

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.

◆ sin_over_x()

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

Definition at line 76 of file quat_slerp.cpp.

◆ slerp_eigen()

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.

◆ slerp_gael()

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.

◆ slerp_legacy()

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.

◆ slerp_legacy_nlerp()

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.

◆ slerp_rw()

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 Tue Jul 4 2023 02:40:52