Exemple #1
0
func CdfFlatP(x float64, a float64, b float64) float64 {
	return float64(C.gsl_cdf_flat_P(C.double(x), C.double(a), C.double(b)))
}
Exemple #2
0
// FlatP returns the cumulative distribution function P(x) for
// the lower tail of a flat distribution.
func FlatP(x, a, b float64) float64 {
	return float64(C.gsl_cdf_flat_P(C.double(x), C.double(a), C.double(b)))
}