[
https://issues.apache.org/jira/browse/NUMBERS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Herbert moved STATISTICS-51 to NUMBERS-180:
------------------------------------------------
Component/s: gamma
(was: gamma)
Fix Version/s: 1.1
(was: 1.1)
Key: NUMBERS-180 (was: STATISTICS-51)
Affects Version/s: 1.1
(was: 1.1)
Workflow: jira (was: Default workflow, editable Closed status)
Project: Commons Numbers (was: Apache Commons Statistics)
> Gamma ratio and delta ratio
> ---------------------------
>
> Key: NUMBERS-180
> URL: https://issues.apache.org/jira/browse/NUMBERS-180
> Project: Commons Numbers
> Issue Type: New Feature
> Components: gamma
> Affects Versions: 1.1
> Reporter: Alex Herbert
> Priority: Minor
> Fix For: 1.1
>
>
> The recently ported gamma functions from the Boost C++ library contain a
> method for computing a ratio of gamma functions:
> {noformat}
> gamma_ratio(a, b) = gamma(a) / gamma(b)
> gamma_delta_ratio(a, delta) = gamma(a) / gamma(a + delta){noformat}
> This method is required for part of the Boost C++ implementation of the
> RegularizedBeta function.
> It has an application in Commons Statistics for computing the mean and
> variance of the [Nakagami
> distribution|https://en.wikipedia.org/wiki/Nakagami_distribution].
> Potential API:
> {code:java}
> // Added to the existing Gamma class
> Gamma.ratio(a, b)
> Gamma.delta_ratio(a, delta)
> // New class
> GammaRatio.value(a, b)
> GammaRatio.delta(a, delta){code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)