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: 24.1.418.0 (24.1.418.0)
Syntax
public static double InverseErrorFunction(
	double p
)

Parameters

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.
Remarks
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