VERB_code_2.2  2
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
erf.h
Go to the documentation of this file.
1 /**
2  * \file erf.h
3  * Error function.
4  *
5  * \author Numerical recepies.
6  */
7 
8 #include <math.h>
9 
10 ///Maximum allowed number of iterations.
11 #define ITMAX 100000
12 ///Relative accuracy.
13 #define EPS 3.0e-7
14 ///Number near the smallest representable doubleing-point number.
15 #define FPMIN 1.0e-30
16 
17 //void nrerror(const char *msg);
18 
19 double gammln(double xx);
20 
21 double gammp(double a, double x);
22 
23 double gammq(double a, double x);
24 
25 void gser(double *gamser, double a, double x, double *gln);
26 
27 void gcf(double *gammcf, double a, double x, double *gln);
28 
29 double erf(double x);