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