Exemplo n.º 1
0
func GammaIncP(a float64, x float64) float64 {
	return float64(C.gsl_sf_gamma_inc_P(C.double(a), C.double(x)))
}
Exemplo n.º 2
0
/* Complementary Normalized Incomplete Gamma Function
 *
 * P(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t), {t,0,x} ]
 *
 * a > 0, x >= 0
 *
 * exceptions: GSL_EDOM
 */
func GammaIncP(a, x float64) (r float64) {
	r = float64(C.gsl_sf_gamma_inc_P(C.double(a), C.double(x)))
	return
}