Static Public Member Functions
vnl_math Class Reference

real numerical constants. More...

#include <vnl_math.h>

List of all members.

Static Public Member Functions

static VNL_DLL_DATA const double e VCL_STATIC_CONST_INIT_FLOAT_DECL (2.7182818284590452354)
 pi, e and all that.
static VNL_DLL_DATA const
double log2e 
VCL_STATIC_CONST_INIT_FLOAT_DECL (1.4426950408889634074)
static VNL_DLL_DATA const
double log10e 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.43429448190325182765)
static VNL_DLL_DATA const
double ln2 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.69314718055994530942)
static VNL_DLL_DATA const
double ln10 
VCL_STATIC_CONST_INIT_FLOAT_DECL (2.30258509299404568402)
static VNL_DLL_DATA const double pi VCL_STATIC_CONST_INIT_FLOAT_DECL (3.14159265358979323846)
static VNL_DLL_DATA const
double pi_over_2 
VCL_STATIC_CONST_INIT_FLOAT_DECL (1.57079632679489661923)
static VNL_DLL_DATA const
double pi_over_4 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.78539816339744830962)
static VNL_DLL_DATA const
double pi_over_180 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.01745329251994329577)
static VNL_DLL_DATA const
double one_over_pi 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.31830988618379067154)
static VNL_DLL_DATA const
double two_over_pi 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.63661977236758134308)
static VNL_DLL_DATA const
double deg_per_rad 
VCL_STATIC_CONST_INIT_FLOAT_DECL (57.2957795130823208772)
static VNL_DLL_DATA const
double two_over_sqrtpi 
VCL_STATIC_CONST_INIT_FLOAT_DECL (1.12837916709551257390)
static VNL_DLL_DATA const
double one_over_sqrt2pi 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.39894228040143267794)
static VNL_DLL_DATA const
double sqrt2 
VCL_STATIC_CONST_INIT_FLOAT_DECL (1.41421356237309504880)
static VNL_DLL_DATA const
double sqrt1_2 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.70710678118654752440)
static VNL_DLL_DATA const
double sqrt1_3 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.57735026918962573106)
static VNL_DLL_DATA const
double euler 
VCL_STATIC_CONST_INIT_FLOAT_DECL (0.57721566490153286061)
static VNL_DLL_DATA const
double eps 
VCL_STATIC_CONST_INIT_FLOAT_DECL (2.2204460492503131e-16)
 IEEE double machine precision.
static VNL_DLL_DATA const
double sqrteps 
VCL_STATIC_CONST_INIT_FLOAT_DECL (1.490116119384766e-08)
static VNL_DLL_DATA const
float float_eps 
VCL_STATIC_CONST_INIT_FLOAT_DECL (1.192092896e-07f)
 IEEE single machine precision.
static VNL_DLL_DATA const
float float_sqrteps 
VCL_STATIC_CONST_INIT_FLOAT_DECL (3.4526698307e-4f)
static double angle_0_to_2pi (double angle)
 Convert an angle to [0, 2Pi) range.

Detailed Description

real numerical constants.

Definition at line 79 of file vnl_math.h.


Member Function Documentation

double vnl_math::angle_0_to_2pi ( double  angle) [static]

Convert an angle to [0, 2Pi) range.

Definition at line 317 of file vnl_math.cxx.

static VNL_DLL_DATA const double e vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 2.  7182818284590452354) [static]

pi, e and all that.

static VNL_DLL_DATA const double log2e vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 1.  4426950408889634074) [static]
static VNL_DLL_DATA const double log10e vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  43429448190325182765) [static]
static VNL_DLL_DATA const double ln2 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  69314718055994530942) [static]
static VNL_DLL_DATA const double ln10 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 2.  30258509299404568402) [static]
static VNL_DLL_DATA const double pi vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 3.  14159265358979323846) [static]
static VNL_DLL_DATA const double pi_over_2 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 1.  57079632679489661923) [static]
static VNL_DLL_DATA const double pi_over_4 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  78539816339744830962) [static]
static VNL_DLL_DATA const double pi_over_180 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  01745329251994329577) [static]
static VNL_DLL_DATA const double one_over_pi vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  31830988618379067154) [static]
static VNL_DLL_DATA const double two_over_pi vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  63661977236758134308) [static]
static VNL_DLL_DATA const double deg_per_rad vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 57.  2957795130823208772) [static]
static VNL_DLL_DATA const double two_over_sqrtpi vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 1.  12837916709551257390) [static]
static VNL_DLL_DATA const double one_over_sqrt2pi vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  39894228040143267794) [static]
static VNL_DLL_DATA const double sqrt2 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 1.  41421356237309504880) [static]
static VNL_DLL_DATA const double sqrt1_2 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  70710678118654752440) [static]
static VNL_DLL_DATA const double sqrt1_3 vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  57735026918962573106) [static]
static VNL_DLL_DATA const double euler vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 0.  57721566490153286061) [static]
static VNL_DLL_DATA const double eps vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 2.2204460492503131e-  16) [static]

IEEE double machine precision.

static VNL_DLL_DATA const double sqrteps vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 1.490116119384766e-  08) [static]
static VNL_DLL_DATA const float float_eps vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 1.192092896e-  07f) [static]

IEEE single machine precision.

static VNL_DLL_DATA const float float_sqrteps vnl_math::VCL_STATIC_CONST_INIT_FLOAT_DECL ( 3.4526698307e-  4f) [static]

The documentation for this class was generated from the following files: