fun incompleteGammaP(a: Double, x: Double): Double { return incompleteGamma(x, a, lnGamma(a)) }
Incomplete Gamma function P ( a , x ) = 1-Q ( a , x ) ( a cleanroom implementation of Numerical Recipes gammp ( a , x ) ; in Mathematica this function is 1-GammaRegularized )