示例#1
0
文件: randist.go 项目: postfix/gsl-1
func CdfFlatQ(x float64, a float64, b float64) float64 {
	return float64(C.gsl_cdf_flat_Q(C.double(x), C.double(a), C.double(b)))
}
示例#2
0
文件: cdf.go 项目: haskelladdict/gsl
// FlatQ returns the cumulative distribution function Q(x) for
// the upper tail of a flat distribution.
func FlatQ(x, a, b float64) float64 {
	return float64(C.gsl_cdf_flat_Q(C.double(x), C.double(a), C.double(b)))
}