Click or drag to resize

GaussianStatisticsInverseErrorFunction Method

Calculates the inverse of the error function.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
public static double InverseErrorFunction(
	double p


Type: SystemDouble
The value to use to calculate the inverse of the error function, from -1.0 to 1.0.

Return Value

Type: Double
The inverse of the error function.
The ErrorFunction(Double) approaches its asymptote very quickly, at double precision its solutions are rounded to -1.0 or 1.0 at an input of +-5.93. If this method returns negative or positive infinity and a finite value must be used instead, anything outside of that range would make an acceptable substitute.
See Also