示例#1
0
文件: randist.go 项目: postfix/gsl-1
func CdfGammaP(x float64, a float64, b float64) float64 {
	return float64(C.gsl_cdf_gamma_P(C.double(x), C.double(a), C.double(b)))
}
示例#2
0
文件: cdf.go 项目: haskelladdict/gsl
// GammaP returns the cumulative distribution function P(x) for
// the lower tail of a gamma distribution.
func GammaP(x, a, b float64) float64 {
	return float64(C.gsl_cdf_gamma_P(C.double(x), C.double(a), C.double(b)))
}