erf.cpp File Reference

Error function. More...

#include <string>
#include "erf.h"
#include <iostream>

Include dependency graph for erf.cpp:

Go to the source code of this file.

Functions

bool str2bool (string str)
 Converting string to boolean.
string bool2str (bool b)
 Converting boolean to string.
void nrerror (const char *msg)
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)
 Returns the incomplete gamma function P(a, x) evaluated by its series representation as gamser. Also returns ln ?(a) as 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.cpp.


Function Documentation

string bool2str ( bool  b  ) 

Converting boolean to string.

Definition at line 522 of file Parameters.cpp.

double erf ( double  x  ) 

Returns the error function erf(x).

Definition at line 137 of file erf.cpp.

References gammp().

Referenced by DiffusionCoefficientParamStructure::Load_dxx_parameters().

Here is the call graph for this function:

Here is the caller graph for this function:

double gammln ( double  xx  ) 

Returns the value ln[?(xx)] for xx > 0.

Definition at line 23 of file erf.cpp.

Referenced by gcf(), and gser().

Here is the caller graph for this function:

double gammp ( double  a,
double  x 
)

Returns the incomplete gamma function P(a, x).

Definition at line 39 of file erf.cpp.

References gcf(), gser(), and nrerror().

Referenced by erf().

Here is the call graph for this function:

Here is the caller graph for this function:

double gammq ( double  a,
double  x 
)

Returns the incomplete gamma function Q(a, x) ? 1 ? P(a, x).

Definition at line 56 of file erf.cpp.

References gcf(), gser(), and nrerror().

Here is the call graph for this function:

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.

Definition at line 103 of file erf.cpp.

References EPS, FPMIN, gammln(), i, ITMAX, and nrerror().

Referenced by gammp(), and gammq().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

References EPS, gammln(), ITMAX, and nrerror().

Referenced by gammp(), and gammq().

Here is the call graph for this function:

Here is the caller graph for this function:

void nrerror ( const char *  msg  ) 

Definition at line 17 of file erf.cpp.

Referenced by gammp(), gammq(), gcf(), gser(), and splint().

Here is the caller graph for this function:

bool str2bool ( string  str  ) 

Converting string to boolean.

Definition at line 514 of file Parameters.cpp.

Referenced by ParamStructure::Load_parameters(), and StrToVal().

Here is the caller graph for this function:


Generated on Thu May 27 11:53:19 2010 for VERB_CODE_2.0 by  doxygen 1.5.9