/src/main/java/net/finmath/functions/NonCentralChiSquaredDistribution.java
final double xHalfLog = Math.log ( xHalf ) ;
} public double cumulativeDistribution(final double x) { if (x < 0) { return 0.0; } final double xHalf = x / 2.0; <extra_id_0> final double gammaRegularizedInitial = Gamma.regularizedGammaP(degreesOfFreedomHalf + summationSplitIndex, xHalf); double p = pInitial; double gammaRegularized = gammaRegularizedInitial; double sum = p * gammaRegularized; double error = 0.0; double newSum = 0.0;