OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
InverseGauss.h
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: InverseGauss.h,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Inverse Gaussian density function.
10 //
11 // ------------------------------------------------------------------------
12 // Class category: Utilities
13 // ------------------------------------------------------------------------
14 //
15 // $Date: 2000/03/27 09:32:38 $
16 // $Author: fci $
17 //
18 // ------------------------------------------------------------------------
19 
20 
22 // The inverse function of
23 // <br>
24 // y = Phi(x) = 2 * integral exp(-x^2) * dx / sqrt(pi)
25 // <br>
26 // [br]
27 // Argument: A value $y$ between -1 and +1.
28 // [br]
29 // Return value: the value $x$.
30 
31 extern double InverseGauss(double);
double InverseGauss(double p0)
Inverse Gaussian density function.