Error Function (erf) approximations. More...
Go to the source code of this file.
Functions | |
double | vnl_erf (double x) |
The Error function. | |
double | vnl_erfc (double x) |
The Complementary Error function. | |
double | vnl_scaled_erfc (double x) |
The Scaled Complementary Error function. |
Error Function (erf) approximations.
Definition in file vnl_erf.h.
double vnl_erf | ( | double | x | ) | [inline] |
double vnl_erfc | ( | double | x | ) |
The Complementary Error function.
erfc(x) = 1 - erf(x) = 1 - (2/sqrt(pi)) Integral from 0 to x (exp(-t^2) dt) This value is useful for large x, when erf(x) ~= 1 and erfc(x) < eps.
Definition at line 13 of file vnl_erf.cxx.