//------------------------------------------------------------------------- public override double?apply(double?x) { try { return(Gamma.regularizedGammaP(_a, x, _eps, _maxIter)); } catch (MaxCountExceededException e) { throw new MathException(e); } }
public override double?apply(double?x) { ArgChecker.isTrue(x > 0, "x must be greater than zero"); return(Gamma.logGamma(x)); }