Main MRPT website > C++ reference for MRPT 1.5.3
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

Faster version of std::hypot(), to use when overflow is not an issue and we prefer fast code.

Definition at line 56 of file maps/CColouredPointsMap.h.

References exprtk::details::x().

Referenced by mrpt::math::TPose2D::norm().

◆ 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.13 for MRPT 1.5.3 at Sun Nov 26 00:44:48 UTC 2017