Exemple #1
0
func Exppow(r *rng.GslRng, a float64, b float64) float64 {
	return float64(C.gsl_ran_exppow((*C.gsl_rng)(unsafe.Pointer(r.Ptr())), C.double(a), C.double(b)))
}
Exemple #2
0
// Exppow returns a random variate from the exponential power distribution with scale
// parameter a and exponent b.
func Exppow(rng RngState, a, b float64) float64 {
	return float64(C.gsl_ran_exppow(rng.state, C.double(a), C.double(b)))
}