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

## ◆ 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.

## ◆ 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

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.

## ◆ square()

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

 Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019