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

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.

 bool BASE_IMPEXP mrpt::mrpt::math::isFinite ( float v )
 bool BASE_IMPEXP mrpt::mrpt::math::isFinite ( double v )
 bool BASE_IMPEXP mrpt::mrpt::math::isNaN ( float v )
 bool BASE_IMPEXP mrpt::mrpt::math::isNaN ( double v )
template<class MATRIXLIKE >
 size_t mrpt::mrpt::math::size ( const MATRIXLIKE & m, const int dim )
inline

Returns the size of the matrix in the i'th dimension: 1=rows, 2=columns (MATLAB-compatible function)

Note
Template argument MATRIXLIKE can be: mrpt::math::CMatrixTemplate, mrpt::math::CMatrixTemplateNumeric, mrpt::math::CMatrixFixedNumeric

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

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

 Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018