Example #1
0
func CdfRayleighQinv(q float64, sigma float64) float64 {
	return float64(C.gsl_cdf_rayleigh_Qinv(C.double(q), C.double(sigma)))
}
Example #2
0
// RayleighQinv returns the cumulative distribution function Qinv(x) for
// the upper tail of a rayleigh distribution.
func RayleighQinv(Q, sigma float64) float64 {
	return float64(C.gsl_cdf_rayleigh_Qinv(C.double(Q), C.double(sigma)))
}