Click or drag to resize

ErrorFunctionErf(Double, Boolean) Method

Erf(x) calculates the double precision error function for double precision argument x.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Erf(
	double x,
	bool bDebug
)

Parameters

x  Double
The argument x.
bDebug  Boolean
If true, an exception is thrown if serious errors occur. If false, NaN is returned on errors.

Return Value

Double
The error function value of the argument x.
Remarks
C#
This is a translation from the Fortran version of SLATEC, FNLIB,
CATEGORY C8A, L5A1E, REVISION 920618, originally written by Fullerton W.,(LANL)
to C++.

Series for erf        on the interval  0.          to  1.00000E+00
                       with weighted error   1.28E-32
                       log weighted error  31.89
                       significant figures required  31.05
                       decimal places required  32.55
See Also