Template-based math functions providing the essential operators for a specific type. More...
Public Member Functions | |
template<> | |
float | sqrt (const float &v) |
template<> | |
float | sin (const float &v) |
template<> | |
float | cos (const float &v) |
template<> | |
float | acos (const float &v) |
template<> | |
float | epsilon () |
template<> | |
double | sqrt (const double &v) |
template<> | |
double | sin (const double &v) |
template<> | |
double | cos (const double &v) |
template<> | |
double | acos (const double &v) |
template<> | |
double | epsilon () |
Static Public Member Functions | |
static T | sqrt (const T &v) |
Calculate square root. More... | |
static T | sin (const T &v) |
Calculate sinus. More... | |
static T | cos (const T &v) |
Calculate cosinus. More... | |
static T | acos (const T &v) |
Calculate arcus cosinus. More... | |
static T | epsilon () |
Return the smalles significant value of the type. More... | |
Template-based math functions providing the essential operators for a specific type.
Implemented for float and double. Create your own set for your own type, for example fixed point type or complex type.
|
inlinestatic |
Calculate arcus cosinus.
|
inline |
|
inline |
|
inlinestatic |
Calculate cosinus.
|
inline |
|
inline |
|
inlinestatic |
Return the smalles significant value of the type.
|
inline |
|
inline |
|
inlinestatic |
Calculate sinus.
|
inline |
|
inline |
|
inlinestatic |
Calculate square root.
|
inline |
|
inline |