Go to the source code of this file.
Namespaces | |
namespace | SCPPNT |
Functions | |
template<class T> | |
T | SCPPNT::abs (T x) |
Returns absolute value of argument. | |
template<class T> | |
T | SCPPNT::min (T a, T b) |
Returns minimum of two scalars. | |
template<class T> | |
T | SCPPNT::max (T a, T b) |
Returns maximum of two scalars. | |
template<class T> | |
T | SCPPNT::sign (T a) |
Returns 1 if argument is positive, otherwise returns -1. |
Defines templated scalar functions abs() min(), max(), and sign() required by several matrix algorithms.
Definition in file scppnt_math.h.