Defines | Functions
core/vnl/vnl_math.cxx File Reference
#include "vnl_math.h"
#include <vxl_config.h>

Go to the source code of this file.

Defines

#define VNL_HAS_NO_FINITE

Functions

const double vnl_math::e VCL_STATIC_CONST_INIT_FLOAT_DEFN (2.71828182845904523540)
 constants.
const double vnl_math::log2e VCL_STATIC_CONST_INIT_FLOAT_DEFN (1.44269504088896340740)
const double vnl_math::log10e VCL_STATIC_CONST_INIT_FLOAT_DEFN (0.43429448190325182765)
const double vnl_math::pi VCL_STATIC_CONST_INIT_FLOAT_DEFN (3.14159265358979323846)
const double vnl_math::deg_per_rad VCL_STATIC_CONST_INIT_FLOAT_DEFN (57.2957795130823208772)
const double vnl_math::eps VCL_STATIC_CONST_INIT_FLOAT_DEFN (2.2204460492503131e-16)
 IEEE double machine precision.
const double vnl_math::sqrteps VCL_STATIC_CONST_INIT_FLOAT_DEFN (1.4901161193847660e-08)
const float vnl_math::float_eps VCL_STATIC_CONST_INIT_FLOAT_DEFN (1.1920928960e-7f)
 IEEE single machine precision.
const float vnl_math::float_sqrteps VCL_STATIC_CONST_INIT_FLOAT_DEFN (3.4526698307e-4f)
bool vnl_math_isnan (float x)
bool vnl_math_isnan (double x)
bool vnl_math_isnan (long double x)
bool vnl_math_isfinite (float x)
bool vnl_math_isfinite (double x)
bool vnl_math_isfinite (long double x)
bool vnl_math_isinf (float x)
bool vnl_math_isinf (double x)
bool vnl_math_isinf (long double x)
template<class T >
vnl_huge_val (T)
 Type-accessible infinities for use in templates.
double vnl_huge_val (double)
float vnl_huge_val (float)
int vnl_huge_val (int)
short vnl_huge_val (short)
char vnl_huge_val (char)

Detailed Description

Definition in file vnl_math.cxx.


Define Documentation

#define VNL_HAS_NO_FINITE

Definition at line 57 of file vnl_math.cxx.


Function Documentation

const double vnl_math::ln10 VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 2.  71828182845904523540)

constants.

const long double vnl_numeric_traits< long double >::one VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 1.  44269504088896340740)
const long double vnl_numeric_traits< long double >::zero VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 0.  43429448190325182765)
const double vnl_math::pi VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 3.  14159265358979323846)
const double vnl_math::deg_per_rad VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 57.  2957795130823208772)
const double vnl_math::eps VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 2.2204460492503131e-  16)

IEEE double machine precision.

const double vnl_math::sqrteps VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 1.4901161193847660e-  08)
const float vnl_math::float_eps VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 1.1920928960e-  7f)

IEEE single machine precision.

const float vnl_math::float_sqrteps VCL_STATIC_CONST_INIT_FLOAT_DEFN ( 3.4526698307e-  4f)
template<class T >
T vnl_huge_val ( )

Type-accessible infinities for use in templates.

double vnl_huge_val ( double  )

Definition at line 287 of file vnl_math.cxx.

float vnl_huge_val ( float  )

Definition at line 288 of file vnl_math.cxx.

int vnl_huge_val ( int  )

Definition at line 310 of file vnl_math.cxx.

short vnl_huge_val ( short  )

Definition at line 312 of file vnl_math.cxx.

char vnl_huge_val ( char  )

Definition at line 313 of file vnl_math.cxx.

bool vnl_math_isfinite ( float  x)

Definition at line 238 of file vnl_math.cxx.

bool vnl_math_isfinite ( double  x)

Definition at line 239 of file vnl_math.cxx.

bool vnl_math_isfinite ( long double  x)

Definition at line 240 of file vnl_math.cxx.

bool vnl_math_isinf ( float  x)

Definition at line 272 of file vnl_math.cxx.

bool vnl_math_isinf ( double  x)

Definition at line 273 of file vnl_math.cxx.

bool vnl_math_isinf ( long double  x)

Definition at line 274 of file vnl_math.cxx.

bool vnl_math_isnan ( float  x)

Definition at line 180 of file vnl_math.cxx.

bool vnl_math_isnan ( double  x)

Definition at line 181 of file vnl_math.cxx.

bool vnl_math_isnan ( long double  x)

Definition at line 182 of file vnl_math.cxx.