Example usage for org.apache.commons.math.special Gamma regularizedGammaP

List of usage examples for org.apache.commons.math.special Gamma regularizedGammaP

Introduction

In this page you can find the example usage for org.apache.commons.math.special Gamma regularizedGammaP.

Prototype

public static double regularizedGammaP(double a, double x, double epsilon, int maxIterations)
        throws MathException 

Source Link

Document

Returns the regularized gamma function P(a, x).

Usage

From source file:com.opengamma.analytics.math.function.special.IncompleteGammaFunction.java

@Override
public Double evaluate(final Double x) {
    try {/*from  ww  w .  ja v a 2 s .  c  om*/
        return Gamma.regularizedGammaP(_a, x, _eps, _maxIter);
    } catch (final org.apache.commons.math.MathException e) {
        throw new MathException(e);
    }
}