Exemple #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)))
}
Exemple #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)))
}