[ 
https://issues.apache.org/jira/browse/STATISTICS-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457563#comment-17457563
 ] 

Alex Herbert commented on STATISTICS-38:
----------------------------------------

Removed support for the epsilon and max iterations in commit:

b5679b5f68071378f5312b0a4044ed7920df7995

The new gamma function avoids the use of the series and continued fraction 
computations when they are slow to converge. Use of non default values for the 
RegularizedGamma.P and Q functions is no longer required.

> Optimise use of the Gamma function in the PoissonDistribution
> -------------------------------------------------------------
>
>                 Key: STATISTICS-38
>                 URL: https://issues.apache.org/jira/browse/STATISTICS-38
>             Project: Apache Commons Statistics
>          Issue Type: Improvement
>          Components: distribution
>    Affects Versions: 1.0
>            Reporter: Alex Herbert
>            Priority: Minor
>
> The Poisson distribution currently allows user configured tolerances for 
> computing the Gamma functions for the CDF. These may not be necessary and it 
> should be investigated. The version of the Gamma function used by the Poisson 
> distribution may not be the same as
>  those that required these tolerances in Commons Math 2 (use of the 
> tolerances go as far back as the commit history in the git repo).
> Repeated calling of the RegularizedGamma.P and Q functions from numbers would 
> benefit from allowing pre-computation of the the log( x ) component in the 
> RegularizedGamma function. In this case x is the Poisson mean. See also 
> NUMBERS-167 which discusses pre-computation of the LogGamma(a) component of 
> the input arguments a and x.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to