Logo ROOT   6.08/07
Reference Guide
Namespaces | Functions
vdt Namespace Reference

Namespaces

 details
 

Functions

double fast_acos (double x)
 
float fast_acosf (float x)
 
double fast_approx_inv (double x)
 Three iterations. More...
 
float fast_approx_invf (float x)
 One iterations. More...
 
double fast_approx_isqrt (double x)
 Three iterations. More...
 
float fast_approx_isqrtf (float x)
 One (!) iterations. More...
 
double fast_asin (double x)
 Double Precision asin. More...
 
float fast_asinf (float x)
 Single Precision asin. More...
 
double fast_atan (double x)
 Fast Atan implementation double precision. More...
 
double fast_atan2 (double y, double x)
 
float fast_atan2f (float y, float x)
 
float fast_atanf (float xx)
 Fast Atan implementation single precision. More...
 
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 (double x)
 Four iterations inversion. More...
 
double fast_inv_general (double x, const uint32_t isqrt_iterations)
 General implementation of the inversion. More...
 
float fast_invf (float x)
 Two iterations. More...
 
float fast_invf_general (float x, const uint32_t isqrt_iterations)
 General implementation of the inversion. More...
 
double fast_isqrt (double x)
 Four iterations. More...
 
double fast_isqrt_general (double x, const uint32_t ISQRT_ITERATIONS)
 Sqrt implmentation from Quake3. More...
 
float fast_isqrtf (float x)
 Two iterations. More...
 
float fast_isqrtf_general (float x, const uint32_t ISQRT_ITERATIONS)
 Sqrt implmentation from Quake3. More...
 
double fast_log (double x)
 
float fast_logf (float x)
 
double fast_sin (double x)
 Double precision sine: just call sincos. More...
 
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...
 
float fast_sinf (float x)
 
double fast_tan (double x)
 Double precision tangent implementation. More...
 
float fast_tanf (float x)
 
double inv (double x)
 For comparisons. More...
 
float invf (float x)
 For comparisons. More...
 
double isqrt (double x)
 For comparisons. More...
 
float isqrtf (float x)
 For comparisons. More...
 

Function Documentation

◆ fast_acos()

double vdt::fast_acos ( double  x)
inline

Definition at line 207 of file asin.h.

◆ fast_acosf()

float vdt::fast_acosf ( float  x)
inline

Definition at line 211 of file asin.h.

◆ fast_approx_inv()

double vdt::fast_approx_inv ( double  x)
inline

Three iterations.

Definition at line 53 of file inv.h.

◆ fast_approx_invf()

float vdt::fast_approx_invf ( float  x)
inline

One iterations.

Definition at line 81 of file inv.h.

◆ fast_approx_isqrt()

double vdt::fast_approx_isqrt ( double  x)
inline

Three iterations.

Definition at line 58 of file sqrt.h.

◆ fast_approx_isqrtf()

float vdt::fast_approx_isqrtf ( float  x)
inline

One (!) iterations.

Definition at line 88 of file sqrt.h.

◆ fast_asin()

double vdt::fast_asin ( double  x)
inline

Double Precision asin.

Definition at line 120 of file asin.h.

◆ fast_asinf()

float vdt::fast_asinf ( float  x)
inline

Single Precision asin.

Definition at line 157 of file asin.h.

◆ fast_atan()

double vdt::fast_atan ( double  x)
inline

Fast Atan implementation double precision.

Definition at line 86 of file atan.h.

◆ fast_atan2()

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

Definition at line 35 of file atan2.h.

◆ fast_atan2f()

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

Definition at line 93 of file atan2.h.

◆ fast_atanf()

float vdt::fast_atanf ( float  xx)
inline

Fast Atan implementation single precision.

Definition at line 129 of file atan.h.

◆ fast_cos()

double vdt::fast_cos ( double  x)
inline

Double precision cosine: just call sincos.

Definition at line 22 of file cos.h.

◆ fast_cosf()

float vdt::fast_cosf ( float  x)
inline

Definition at line 26 of file cos.h.

◆ fast_exp()

double vdt::fast_exp ( double  initial_x)
inline

Exponential Function double precision.

Definition at line 70 of file exp.h.

◆ fast_expf()

float vdt::fast_expf ( float  initial_x)
inline

Exponential Function single precision.

Definition at line 118 of file exp.h.

◆ fast_inv()

double vdt::fast_inv ( double  x)
inline

Four iterations inversion.

Definition at line 48 of file inv.h.

◆ fast_inv_general()

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.

◆ fast_invf()

float vdt::fast_invf ( float  x)
inline

Two iterations.

Definition at line 76 of file inv.h.

◆ fast_invf_general()

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.

◆ fast_isqrt()

double vdt::fast_isqrt ( double  x)
inline

Four iterations.

Definition at line 55 of file sqrt.h.

◆ fast_isqrt_general()

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.

◆ fast_isqrtf()

float vdt::fast_isqrtf ( float  x)
inline

Two iterations.

Definition at line 85 of file sqrt.h.

◆ fast_isqrtf_general()

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.

◆ fast_log()

double vdt::fast_log ( double  x)
inline

Definition at line 89 of file log.h.

◆ fast_logf()

float vdt::fast_logf ( float  x)
inline

Definition at line 172 of file log.h.

◆ fast_sin()

double vdt::fast_sin ( double  x)
inline

Double precision sine: just call sincos.

Definition at line 37 of file sin.h.

◆ fast_sincos()

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

Double precision sincos.

Definition at line 132 of file sincos.h.

◆ fast_sincosf()

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

Single precision sincos.

Definition at line 207 of file sincos.h.

◆ fast_sinf()

float vdt::fast_sinf ( float  x)
inline

Definition at line 41 of file sin.h.

◆ fast_tan()

double vdt::fast_tan ( double  x)
inline

Double precision tangent implementation.

Definition at line 84 of file tan.h.

◆ fast_tanf()

float vdt::fast_tanf ( float  x)
inline

Definition at line 130 of file tan.h.

◆ inv()

double vdt::inv ( double  x)
inline

For comparisons.

Definition at line 58 of file inv.h.

◆ invf()

float vdt::invf ( float  x)
inline

For comparisons.

Definition at line 86 of file inv.h.

◆ isqrt()

double vdt::isqrt ( double  x)
inline

For comparisons.

Definition at line 63 of file sqrt.h.

◆ isqrtf()

float vdt::isqrtf ( float  x)
inline

For comparisons.

Definition at line 93 of file sqrt.h.