class IncompleteGammaFunction extends Function1D<Double, Double> {

  @Override
  public Double evaluate(final Double x) {
    try {
      return Gamma.regularizedGammaP(_a, x, _eps, _maxIter);
    } catch (final org.apache.commons.math.MathException e) {
      throw new MathException(e);
    }
  }

  public  IncompleteGammaFunction(final double a);
  public  IncompleteGammaFunction(final double a, final int maxIter, final double eps);

}