Classes | Functions | Variables
eigen3_transforms.cpp File Reference

Benchmark various aspects of eigen's geometry module. More...

#include <iostream>
#include <vector>
#include <ecl/config/macros.hpp>
#include <ecl/threads/priority.hpp>
#include <ecl/time/duration.hpp>
#include <ecl/time/cpuwatch.hpp>
#include <ecl/time/stopwatch.hpp>
#include <ecl/time/time_data.hpp>
#include <ecl/linear_algebra.hpp>
Include dependency graph for eigen3_transforms.cpp:

Go to the source code of this file.

Classes

class  NewPose2D
 
class  Pose2D
 

Functions

template<typename MatrixType >
ECL_DONT_INLINE Duration inverse (const MatrixType &a, const MatrixType &b, MatrixType &c)
 
int main (int argc, char **argv)
 
ECL_DONT_INLINE TimeData matrix3DTest (bool inverse_test=false)
 
template<typename Pose >
ECL_DONT_INLINE TimeData pose2DTest (bool inverse_test=false)
 
template<typename MatrixType >
ECL_DONT_INLINE Duration product (const MatrixType &a, const MatrixType &b, MatrixType &c)
 
double random_float ()
 
Matrix3d rotation3D (const double &alpha, const double &beta, const double &gamma)
 
ECL_DONT_INLINE TimeData rotTrans3DTest (bool inverse_test=false)
 
template<typename MatrixType >
ECL_DONT_INLINE TimeData transform2DTest (bool inverse_test=false)
 
template<typename MatrixType >
ECL_DONT_INLINE TimeData transform3DTest (bool inverse_test=false)
 
ECL_DONT_INLINE vector< DurationtrigTest ()
 

Variables

const double increment = 1.0/static_cast<double>(REPEAT)
 
const unsigned int REPEAT = 1000
 

Detailed Description

Benchmark various aspects of eigen's geometry module.

Date
September 2010

Definition in file eigen3_transforms.cpp.

Function Documentation

◆ inverse()

template<typename MatrixType >
ECL_DONT_INLINE Duration inverse ( const MatrixType &  a,
const MatrixType &  b,
MatrixType &  c 
)

Definition at line 131 of file eigen3_transforms.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 272 of file eigen3_transforms.cpp.

◆ matrix3DTest()

ECL_DONT_INLINE TimeData matrix3DTest ( bool  inverse_test = false)

Definition at line 226 of file eigen3_transforms.cpp.

◆ pose2DTest()

template<typename Pose >
ECL_DONT_INLINE TimeData pose2DTest ( bool  inverse_test = false)

Definition at line 140 of file eigen3_transforms.cpp.

◆ product()

template<typename MatrixType >
ECL_DONT_INLINE Duration product ( const MatrixType &  a,
const MatrixType &  b,
MatrixType &  c 
)

Definition at line 122 of file eigen3_transforms.cpp.

◆ random_float()

double random_float ( )

Definition at line 102 of file eigen3_transforms.cpp.

◆ rotation3D()

Matrix3d rotation3D ( const double &  alpha,
const double &  beta,
const double &  gamma 
)

Definition at line 106 of file eigen3_transforms.cpp.

◆ rotTrans3DTest()

ECL_DONT_INLINE TimeData rotTrans3DTest ( bool  inverse_test = false)

Definition at line 193 of file eigen3_transforms.cpp.

◆ transform2DTest()

template<typename MatrixType >
ECL_DONT_INLINE TimeData transform2DTest ( bool  inverse_test = false)

Definition at line 156 of file eigen3_transforms.cpp.

◆ transform3DTest()

template<typename MatrixType >
ECL_DONT_INLINE TimeData transform3DTest ( bool  inverse_test = false)

Definition at line 175 of file eigen3_transforms.cpp.

◆ trigTest()

ECL_DONT_INLINE vector<Duration> trigTest ( )

Definition at line 244 of file eigen3_transforms.cpp.

Variable Documentation

◆ increment

const double increment = 1.0/static_cast<double>(REPEAT)

Definition at line 100 of file eigen3_transforms.cpp.

◆ REPEAT

const unsigned int REPEAT = 1000

Definition at line 99 of file eigen3_transforms.cpp.



ecl_core_apps
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:52