Utilitary class providing custom math functions.
More...
#include <math.h>
|
| template<typename T_Input , typename T_Output > |
| static T_Output | Round (const T_Input input) |
| | Rounds input to the nearest integer. More...
|
| |
|
|
| 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.
|
| |
Utilitary class providing custom math functions.
Definition at line 41 of file math.h.
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_Input | integer or floating point type |
| T_Output | integer or floating point type |
- Parameters
-
| input | a 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: