C# Class YAMP.Numerics.ErrorFunction

This class contains everything about the error function.
Show file Open project: FlorianRappl/YAMP

Public Methods

Method Description
Erf ( ScalarValue z ) : ScalarValue

Computes the complex error function erf(z).

Erf ( double x ) : double

Computes the normal error function erf(x).

Erfc ( ScalarValue z ) : ScalarValue

Computes the complex complementary error function erfc(z).

Erfc ( double a ) : double

Computes the complementary error function erfc(x).

Faddeeva ( ScalarValue z ) : ScalarValue

The Faddeeva function or Kramp function is a scaled complex complementary error function.

Private Methods

Method Description
ContinuedFraction ( ScalarValue z ) : ScalarValue
Erf_Series ( ScalarValue z ) : ScalarValue
Taylor ( ScalarValue z0, ScalarValue w0, ScalarValue dz ) : ScalarValue
Weideman ( ScalarValue z ) : ScalarValue
p1evl ( Double x, Double coef, Int32 N ) : Double
polevl ( Double x, Double coef, Int32 N ) : Double

Method Details

Erf() public static method

Computes the complex error function erf(z).
public static Erf ( ScalarValue z ) : ScalarValue
z ScalarValue The complex argument.
return ScalarValue

Erf() public static method

Computes the normal error function erf(x).
public static Erf ( double x ) : double
x double The argument.
return double

Erfc() public static method

Computes the complex complementary error function erfc(z).
public static Erfc ( ScalarValue z ) : ScalarValue
z ScalarValue The complex argument.
return ScalarValue

Erfc() public static method

Computes the complementary error function erfc(x).
public static Erfc ( double a ) : double
a double The argument.
return double

Faddeeva() public static method

The Faddeeva function or Kramp function is a scaled complex complementary error function.
public static Faddeeva ( ScalarValue z ) : ScalarValue
z ScalarValue The argument z.
return ScalarValue