Main MRPT website > C++ reference for MRPT 1.5.7
Functions
mrpt::mrpt::math Namespace Reference

Functions

bool BASE_IMPEXP isNaN (float v) MRPT_NO_THROWS
 
bool BASE_IMPEXP isNaN (double v) MRPT_NO_THROWS
 
bool BASE_IMPEXP isFinite (float v) MRPT_NO_THROWS
 
bool BASE_IMPEXP isFinite (double v) MRPT_NO_THROWS
 
template<class MATRIXLIKE >
size_t size (const MATRIXLIKE &m, const int dim)
 
template<class T >
square (const T x)
 Inline function for the square of a number. More...
 
template<class T >
hypot_fast (const T x, const T y)
 Faster version of std::hypot(), to use when overflow is not an issue and we prefer fast code. More...
 

Function Documentation

◆ hypot_fast()

template<class T >
T mrpt::mrpt::math::hypot_fast ( const T  x,
const T  y 
)
inline

◆ isFinite() [1/2]

bool BASE_IMPEXP mrpt::mrpt::math::isFinite ( float  v)

◆ isFinite() [2/2]

bool BASE_IMPEXP mrpt::mrpt::math::isFinite ( double  v)

◆ isNaN() [1/2]

bool BASE_IMPEXP mrpt::mrpt::math::isNaN ( float  v)

◆ isNaN() [2/2]

bool BASE_IMPEXP mrpt::mrpt::math::isNaN ( double  v)

◆ size()

template<class MATRIXLIKE >
size_t mrpt::mrpt::math::size ( const MATRIXLIKE &  m,
const int  dim 
)
inline

◆ square()

template<class T >
T mrpt::mrpt::math::square ( const T  x)
inline



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019