#include <string>
#include "erf.h"
#include <iostream>
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). |
Definition in file erf.cpp.
string bool2str | ( | bool | b | ) |
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().
double gammln | ( | double | xx | ) |
double gammp | ( | double | a, | |
double | x | |||
) |
double gammq | ( | double | a, | |
double | x | |||
) |
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().
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().
void nrerror | ( | const char * | msg | ) |
bool str2bool | ( | string | str | ) |
Converting string to boolean.
Definition at line 514 of file Parameters.cpp.
Referenced by ParamStructure::Load_parameters(), and StrToVal().