VERB_code_2.3
erf.h File Reference
#include <math.h>

Go to the source code of this file.

Macros

#define ITMAX   100000
 Maximum allowed number of iterations.
 
#define EPS   3.0e-7
 Relative accuracy.
 
#define FPMIN   1.0e-30
 Number near the smallest representable doubleing-point number.
 

Functions

double gammln (double xx)
 Returns the value ln[?(xx)] for xx > 0.
 
double gammp (double a, double x)
 Returns the incomplete gamma function P(a, x).
 
double gammq (double a, double x)
 Returns the incomplete gamma function Q(a, x) ? 1 ? P(a, x).
 
void gser (double *gamser, double a, double x, double *gln)
 
void gcf (double *gammcf, double a, double x, double *gln)
 Returns the incomplete gamma function Q(a, x) evaluated by its continued fraction representation as gammcf. Also returns ln?(a) as gln.
 
double erf (double x)
 Returns the error function erf(x).
 

Detailed Description

Error function.

Author
Numerical recepies.

Definition in file erf.h.

Function Documentation

void gser ( double *  gamser,
double  a,
double  x,
double *  gln 
)

Returns the incomplete gamma function P(a, x) evaluated by its series representation as gamser. Also returns ln ?(a) as gln.

Definition at line 74 of file erf.cpp.