GaussianStatisticsInverseErrorFunction Method |
Calculates the inverse of the error function.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static double InverseErrorFunction(
double p
)
Public Shared Function InverseErrorFunction (
p As Double
) As Double
public:
static double InverseErrorFunction(
double p
)
static member InverseErrorFunction :
p : float -> float
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:
DoubleThe 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