[
https://issues.apache.org/jira/browse/MATH-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Steitz updated MATH-1039:
------------------------------
Fix Version/s: 4.0
Patch committed with only one material change in r1533974
* New logDensity methods were not added to interfaces; only to abstract
parents.
Leaving this open so we do not forget to lift to interfaces in 4.0.
Many thanks for the patch!
> Logarithmic probability and density calculations for the distributions
> ----------------------------------------------------------------------
>
> Key: MATH-1039
> URL: https://issues.apache.org/jira/browse/MATH-1039
> Project: Commons Math
> Issue Type: New Feature
> Reporter: Aleksei Dievskii
> Assignee: Phil Steitz
> Priority: Minor
> Labels: features, patch
> Fix For: 4.0
>
> Attachments: LOGDENSITY.patch
>
>
> A person working with fairly small probabilities and densities often employs
> their logarithms to increase precision and decrease the chance of an
> underflow. However, just taking a log of the probability() or density()
> return value doesn't necessarily solve the problem, as these methods
> themselves could have lost precision or underflowed. This patch introduces
> new logProbability() and logDensity() methods overriden for many relevant
> distribution. The patch also introduces tests of these new methods.
--
This message was sent by Atlassian JIRA
(v6.1#6144)