Ejemplo n.º 1
0
func CdfFlatPinv(p float64, a float64, b float64) float64 {
	return float64(C.gsl_cdf_flat_Pinv(C.double(p), C.double(a), C.double(b)))
}
Ejemplo n.º 2
0
// FlatPinv returns the inverse cumulative distribution function Pinv(x) for
// the lower tail of a flat distribution.
func FlatPinv(P, a, b float64) float64 {
	return float64(C.gsl_cdf_flat_Pinv(C.double(P), C.double(a), C.double(b)))
}