SeComLib
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Static Public Member Functions | Private Member Functions | List of all members
SeComLib::Utils::Math Class Reference

Utilitary class providing custom math functions. More...

#include <math.h>

Static Public Member Functions

template<typename T_Input , typename T_Output >
static T_Output Round (const T_Input input)
 Rounds input to the nearest integer. More...
 

Private Member Functions

 Math ()
 Default constructor - not implemented.
 
 ~Math ()
 Destructor - not implemented.
 
 Math (Math const &)
 Copy constructor - not implemented.
 
Math operator= (Math const &)
 Copy assignment operator - not implemented.
 

Detailed Description

Utilitary class providing custom math functions.

Definition at line 41 of file math.h.

Member Function Documentation

template<typename T_Input , typename T_Output >
T_Output SeComLib::Utils::Math::Round ( const T_Input  input)
static

Rounds input to the nearest integer.

Negative numbers are rounded similar to the positive ones.

Template Parameters
T_Inputinteger or floating point type
T_Outputinteger or floating point type
Parameters
inputa integer or floating point number
Returns
The rounded number

Definition at line 44 of file math.hpp.


The documentation for this class was generated from the following files: