예제 #1
0
파일: randist.go 프로젝트: postfix/gsl-1
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)))
}
예제 #2
0
파일: cdf.go 프로젝트: haskelladdict/gsl
// 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)))
}