Example #1
0
func CdfFlatQinv(q float64, a float64, b float64) float64 {
	return float64(C.gsl_cdf_flat_Qinv(C.double(q), C.double(a), C.double(b)))
}
Example #2
0
// FlatQinv returns the cumulative distribution function Qinv(x) for
// the upper tail of a flat distribution.
func FlatQinv(Q, a, b float64) float64 {
	return float64(C.gsl_cdf_flat_Qinv(C.double(Q), C.double(a), C.double(b)))
}