Exemplo n.º 1
0
func Landau(r *rng.GslRng) float64 {
	return float64(C.gsl_ran_landau((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}
Exemplo n.º 2
0
// Landay returns a random variate from the Landau distribution.
func Landau(rng RngState) float64 {
	return float64(C.gsl_ran_landau(rng.state))
}