FunctionsErf Method

Calculates the error function.

Definition

Namespace: Austra.Library.Stats
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static double Erf(
	double x
)

Parameters

x  Double
The value to evaluate.

Return Value

Double
the error function evaluated at given value.

Remarks

  • returns 1 if x == double.PositiveInfinity.
  • returns -1 if x == double.NegativeInfinity.

See Also