Exemple #1
0
func RayleighTail(r *rng.GslRng, a float64, sigma float64) float64 {
	return float64(C.gsl_ran_rayleigh_tail((*C.gsl_rng)(unsafe.Pointer(r.Ptr())), C.double(a), C.double(sigma)))
}
Exemple #2
0
// RayleighTail returns a random variate from the tail of the Rayleigh distribution
// with scale parameter sigma and a lower limit of a.
func RayleighTail(rng RngState, a, sigma float64) float64 {
	return float64(C.gsl_ran_rayleigh_tail(rng.state, C.double(a), C.double(sigma)))
}