src/main/cpp/numerics4cpp/special/erf.h File Reference

#include "../numerics.h"

Go to the source code of this file.

Functions

double erf (double x)
double erfc (double x)
double inverse_erf (double y)


Detailed Description

Implementations for several functions related to the error function.

Function Documentation

double erf ( double  x  ) 

Returns the error function erf(x).

References:

  1. Eric W. Weisstein. "Erf." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Erf.html

Parameters:
x the evaluation point.
Returns:
erf(x)

double erfc ( double  x  ) 

Returns the complementary error function erfc(x).

References:

  1. Eric W. Weisstein. "Erfc." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Erfc.html

Parameters:
x the evaluation point.
Returns:
erfc(x)

double inverse_erf ( double  y  ) 

Returns the inverse error function erf-1(x).

References:

  1. Eric W. Weisstein. "Erf." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Erf.html

Parameters:
y the evaluation point.
Returns:
the value x, such that erf(x) == y.


Generated on Wed Nov 21 22:22:15 2007 for numerics4c++ by  doxygen 1.5.3