Example #1
0
func CdfRayleighPinv(p float64, sigma float64) float64 {
	return float64(C.gsl_cdf_rayleigh_Pinv(C.double(p), C.double(sigma)))
}
Example #2
0
// RayleighPinv returns the inverse cumulative distribution function Pinv(x) for
// the lower tail of a rayleigh distribution.
func RayleighPinv(P, sigma float64) float64 {
	return float64(C.gsl_cdf_rayleigh_Pinv(C.double(P), C.double(sigma)))
}