Functions

cmtk::Wrappers Namespace Reference

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)

Detailed Description

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.


Function Documentation

double cmtk::Wrappers::Abs ( const double  x )
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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines