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>
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< Duration > | trigTest () |
Variables | |
const double | increment = 1.0/static_cast<double>(REPEAT) |
const unsigned int | REPEAT = 1000 |
Benchmark various aspects of eigen's geometry module.
Definition in file eigen3_transforms.cpp.
ECL_DONT_INLINE Duration inverse | ( | const MatrixType & | a, |
const MatrixType & | b, | ||
MatrixType & | c | ||
) |
Definition at line 131 of file eigen3_transforms.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 272 of file eigen3_transforms.cpp.
ECL_DONT_INLINE TimeData matrix3DTest | ( | bool | inverse_test = false | ) |
Definition at line 226 of file eigen3_transforms.cpp.
ECL_DONT_INLINE TimeData pose2DTest | ( | bool | inverse_test = false | ) |
Definition at line 140 of file eigen3_transforms.cpp.
ECL_DONT_INLINE Duration product | ( | const MatrixType & | a, |
const MatrixType & | b, | ||
MatrixType & | c | ||
) |
Definition at line 122 of file eigen3_transforms.cpp.
double random_float | ( | ) |
Definition at line 102 of file eigen3_transforms.cpp.
Matrix3d rotation3D | ( | const double & | alpha, |
const double & | beta, | ||
const double & | gamma | ||
) |
Definition at line 106 of file eigen3_transforms.cpp.
ECL_DONT_INLINE TimeData rotTrans3DTest | ( | bool | inverse_test = false | ) |
Definition at line 193 of file eigen3_transforms.cpp.
ECL_DONT_INLINE TimeData transform2DTest | ( | bool | inverse_test = false | ) |
Definition at line 156 of file eigen3_transforms.cpp.
ECL_DONT_INLINE TimeData transform3DTest | ( | bool | inverse_test = false | ) |
Definition at line 175 of file eigen3_transforms.cpp.
ECL_DONT_INLINE vector<Duration> trigTest | ( | ) |
Definition at line 244 of file eigen3_transforms.cpp.
const double increment = 1.0/static_cast<double>(REPEAT) |
Definition at line 100 of file eigen3_transforms.cpp.
const unsigned int REPEAT = 1000 |
Definition at line 99 of file eigen3_transforms.cpp.