ROOT  6.06/09
Reference Guide
Namespaces | Functions
vdt Namespace Reference

Namespaces

 details
 

Functions

double fast_asin (double x)
 Double Precision asin. More...
 
float fast_asinf (float x)
 Single Precision asin. More...
 
double fast_acos (double x)
 
float fast_acosf (float x)
 
double fast_atan (double x)
 Fast Atan implementation double precision. More...
 
float fast_atanf (float xx)
 Fast Atan implementation single precision. More...
 
double fast_atan2 (double y, double x)
 
float fast_atan2f (float y, float x)
 
double fast_cos (double x)
 Double precision cosine: just call sincos. More...
 
float fast_cosf (float x)
 
double fast_exp (double initial_x)
 Exponential Function double precision. More...
 
float fast_expf (float initial_x)
 Exponential Function single precision. More...
 
double fast_inv_general (double x, const uint32_t isqrt_iterations)
 General implementation of the inversion. More...
 
double fast_inv (double x)
 Four iterations inversion. More...
 
double fast_approx_inv (double x)
 Three iterations. More...
 
double inv (double x)
 For comparisons. More...
 
float fast_invf_general (float x, const uint32_t isqrt_iterations)
 General implementation of the inversion. More...
 
float fast_invf (float x)
 Two iterations. More...
 
float fast_approx_invf (float x)
 One iterations. More...
 
float invf (float x)
 For comparisons. More...
 
double fast_log (double x)
 
float fast_logf (float x)
 
double fast_sin (double x)
 Double precision sine: just call sincos. More...
 
float fast_sinf (float x)
 
void fast_sincos (const double xx, double &s, double &c)
 Double precision sincos. More...
 
void fast_sincosf (const float xx, float &s, float &c)
 Single precision sincos. More...
 
double fast_isqrt_general (double x, const uint32_t ISQRT_ITERATIONS)
 Sqrt implmentation from Quake3. More...
 
double fast_isqrt (double x)
 Four iterations. More...
 
double fast_approx_isqrt (double x)
 Three iterations. More...
 
double isqrt (double x)
 For comparisons. More...
 
float fast_isqrtf_general (float x, const uint32_t ISQRT_ITERATIONS)
 Sqrt implmentation from Quake3. More...
 
float fast_isqrtf (float x)
 Two iterations. More...
 
float fast_approx_isqrtf (float x)
 One (!) iterations. More...
 
float isqrtf (float x)
 For comparisons. More...
 
double fast_tan (double x)
 Double precision tangent implementation. More...
 
float fast_tanf (float x)
 

Function Documentation

double vdt::fast_acos ( double  x)
inline

Definition at line 208 of file asin.h.

Referenced by dpStep3().

float vdt::fast_acosf ( float  x)
inline

Definition at line 212 of file asin.h.

Referenced by spStep3().

double vdt::fast_approx_inv ( double  x)
inline

Three iterations.

Definition at line 53 of file inv.h.

float vdt::fast_approx_invf ( float  x)
inline

One iterations.

Definition at line 81 of file inv.h.

double vdt::fast_approx_isqrt ( double  x)
inline

Three iterations.

Definition at line 58 of file sqrt.h.

float vdt::fast_approx_isqrtf ( float  x)
inline

One (!) iterations.

Definition at line 88 of file sqrt.h.

double vdt::fast_asin ( double  x)
inline

Double Precision asin.

Definition at line 120 of file asin.h.

Referenced by dpStep3(), and fast_acos().

float vdt::fast_asinf ( float  x)
inline

Single Precision asin.

Definition at line 157 of file asin.h.

Referenced by fast_acosf(), and spStep3().

double vdt::fast_atan ( double  x)
inline

Fast Atan implementation double precision.

Definition at line 86 of file atan.h.

Referenced by dpStep1().

double vdt::fast_atan2 ( double  y,
double  x 
)
inline

Definition at line 35 of file atan2.h.

float vdt::fast_atan2f ( float  y,
float  x 
)
inline

Definition at line 93 of file atan2.h.

float vdt::fast_atanf ( float  xx)
inline

Fast Atan implementation single precision.

Definition at line 129 of file atan.h.

Referenced by spStep1().

double vdt::fast_cos ( double  x)
inline

Double precision cosine: just call sincos.

Definition at line 22 of file cos.h.

Referenced by dpStep1().

float vdt::fast_cosf ( float  x)
inline

Definition at line 26 of file cos.h.

Referenced by spStep1().

double vdt::fast_exp ( double  initial_x)
inline

Exponential Function double precision.

Definition at line 70 of file exp.h.

Referenced by dpStep1().

float vdt::fast_expf ( float  initial_x)
inline

Exponential Function single precision.

Definition at line 118 of file exp.h.

Referenced by spStep1().

double vdt::fast_inv ( double  x)
inline

Four iterations inversion.

Definition at line 48 of file inv.h.

double vdt::fast_inv_general ( double  x,
const uint32_t  isqrt_iterations 
)
inline

General implementation of the inversion.

Definition at line 38 of file inv.h.

Referenced by fast_approx_inv(), and fast_inv().

float vdt::fast_invf ( float  x)
inline

Two iterations.

Definition at line 76 of file inv.h.

float vdt::fast_invf_general ( float  x,
const uint32_t  isqrt_iterations 
)
inline

General implementation of the inversion.

Definition at line 66 of file inv.h.

Referenced by fast_approx_invf(), and fast_invf().

double vdt::fast_isqrt ( double  x)
inline

Four iterations.

Definition at line 55 of file sqrt.h.

Referenced by dpStep2().

double vdt::fast_isqrt_general ( double  x,
const uint32_t  ISQRT_ITERATIONS 
)
inline

Sqrt implmentation from Quake3.

Definition at line 37 of file sqrt.h.

Referenced by fast_approx_isqrt(), fast_inv_general(), and fast_isqrt().

float vdt::fast_isqrtf ( float  x)
inline

Two iterations.

Definition at line 85 of file sqrt.h.

Referenced by spStep2().

float vdt::fast_isqrtf_general ( float  x,
const uint32_t  ISQRT_ITERATIONS 
)
inline

Sqrt implmentation from Quake3.

Definition at line 68 of file sqrt.h.

Referenced by fast_approx_isqrtf(), fast_invf_general(), and fast_isqrtf().

double vdt::fast_log ( double  x)
inline

Definition at line 89 of file log.h.

Referenced by dpStep2().

float vdt::fast_logf ( float  x)
inline

Definition at line 172 of file log.h.

Referenced by spStep2().

double vdt::fast_sin ( double  x)
inline

Double precision sine: just call sincos.

Definition at line 37 of file sin.h.

Referenced by dpStep1().

void vdt::fast_sincos ( const double  xx,
double s,
double c 
)
inline

Double precision sincos.

Definition at line 132 of file sincos.h.

Referenced by fast_cos(), and fast_sin().

void vdt::fast_sincosf ( const float  xx,
float &  s,
float &  c 
)
inline

Single precision sincos.

Definition at line 207 of file sincos.h.

Referenced by fast_cosf(), and fast_sinf().

float vdt::fast_sinf ( float  x)
inline

Definition at line 41 of file sin.h.

Referenced by spStep1().

double vdt::fast_tan ( double  x)
inline

Double precision tangent implementation.

Definition at line 84 of file tan.h.

Referenced by dpStep1().

float vdt::fast_tanf ( float  x)
inline

Definition at line 130 of file tan.h.

Referenced by spStep1().

double vdt::inv ( double  x)
inline
float vdt::invf ( float  x)
inline

For comparisons.

Definition at line 86 of file inv.h.

double vdt::isqrt ( double  x)
inline

For comparisons.

Definition at line 63 of file sqrt.h.

float vdt::isqrtf ( float  x)
inline

For comparisons.

Definition at line 93 of file sqrt.h.