func GaussianTail(r *rng.GslRng, a float64, sigma float64) float64 { return float64(C.gsl_ran_gaussian_tail((*C.gsl_rng)(unsafe.Pointer(r.Ptr())), C.double(a), C.double(sigma))) }
// GaussianTail provides random variates from the upper tail of a Gaussian // distribution with standard deviation sigma. The values returned are // larger than the lower limit a, which must be positive. The method is // based on Marsaglia's famous rectangle-wedge-tail algorithm (Ann. Math. // Stat. 32, 894899 (1961)), with this aspect explained in Knuth, v2, // 3rd ed, p139,586 (exercise 11). func GaussianTail(rng RngState, a, sigma float64) float64 { return float64(C.gsl_ran_gaussian_tail(rng.state, C.double(a), C.double(sigma))) }