예제 #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)))
}