You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/05/07 22:41:15 UTC

[jira] [Resolved] (MATH-973) Geometric distribution support

     [ https://issues.apache.org/jira/browse/MATH-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved MATH-973.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Thanks for the patch and report!

Applied it together with minor changes in r1480064.
I also changed the input validation check for the probability to (0, 1] as the geometric distribution is defined for this range, although a value of 1 will not produce very useful results.
                
> Geometric distribution support
> ------------------------------
>
>                 Key: MATH-973
>                 URL: https://issues.apache.org/jira/browse/MATH-973
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Mauro Tortonesi
>            Priority: Minor
>              Labels: distribution
>             Fix For: 4.0
>
>         Attachments: apache-commons-math-geometric-distribution-support.diff
>
>
> The included patch implements support for the geometric probability distribution function:
> http://en.wikipedia.org/wiki/Geometric_distribution
> http://mathworld.wolfram.com/GeometricDistribution.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira