Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Labels:

      Description

      The included patch implements support for the geometric probability distribution function:

      http://en.wikipedia.org/wiki/Geometric_distribution
      http://mathworld.wolfram.com/GeometricDistribution.html

        Activity

        Mauro Tortonesi created issue -
        Hide
        Mauro Tortonesi added a comment -

        All the tests pass. I have not defined a serialVersionUID, though.

        Show
        Mauro Tortonesi added a comment - All the tests pass. I have not defined a serialVersionUID, though.
        Mauro Tortonesi made changes -
        Field Original Value New Value
        Attachment apache-commons-math-geometric-distribution-support.diff [ 12582138 ]
        Hide
        Thomas Neidhart added a comment -

        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.

        Show
        Thomas Neidhart added a comment - 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.
        Thomas Neidhart made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.0 [ 12317577 ]
        Resolution Fixed [ 1 ]
        Hide
        Mauro Tortonesi added a comment -

        Dear Thomas,

        thank you very much for your prompt response!

        Show
        Mauro Tortonesi added a comment - Dear Thomas, thank you very much for your prompt response!
        Thomas Neidhart made changes -
        Fix Version/s 3.3 [ 12324600 ]
        Fix Version/s 4.0 [ 12317577 ]
        Hide
        Luc Maisonobe added a comment -

        Closing all resolved issue now available in released 3.3 version.

        Show
        Luc Maisonobe added a comment - Closing all resolved issue now available in released 3.3 version.
        Luc Maisonobe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mauro Tortonesi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development