Wrappers for math.h functions. More...
Functions | |
double | Log (const double x) |
Log function. | |
double | Exp (const double x) |
Exponential function. | |
double | Sqrt (const double x) |
Square root function. | |
double | Abs (const double x) |
Abs function. | |
double | Trunc (const double x) |
Wrappers for math.h functions.
These are necessary because on some platforms (e.g., Solaris), the math functions are declared extern "C"; so until we find a better way to address this, we wrap these functions.
double cmtk::Wrappers::Abs | ( | const double | x ) |
Abs function.
Definition at line 74 of file cmtkMathFunctionWrappers.h.
Referenced by cmtk::TemplateArray< T >::MakeAbsolute(), and cmtk::QtImageOperators::slotOperatorAbs().
double cmtk::Wrappers::Exp | ( | const double | x ) |
Exponential function.
Definition at line 60 of file cmtkMathFunctionWrappers.h.
Referenced by cmtk::QtImageOperators::slotOperatorExp().
double cmtk::Wrappers::Log | ( | const double | x ) |
Log function.
Definition at line 53 of file cmtkMathFunctionWrappers.h.
Referenced by cmtk::QtImageOperators::slotOperatorLog().
double cmtk::Wrappers::Sqrt | ( | const double | x ) |
Square root function.
Definition at line 67 of file cmtkMathFunctionWrappers.h.
double cmtk::Wrappers::Trunc | ( | const double | x ) |
Definition at line 80 of file cmtkMathFunctionWrappers.h.