[jira] [Created] (MATH-957) Use analytical function for UniformRealDistribution.inverseCumulativeProbability

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (MATH-957) Use analytical function for UniformRealDistribution.inverseCumulativeProbability

Furkan KILIC (Jira)
Evan Ward created MATH-957:
------------------------------

             Summary: Use analytical function for UniformRealDistribution.inverseCumulativeProbability
                 Key: MATH-957
                 URL: https://issues.apache.org/jira/browse/MATH-957
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Evan Ward


The inverse CDF is currently solved by a root finding function. It would be much simpler (and faster) to use the analytical expression. This would save the user from having to set the inverseCumAccuracy correctly.

I've attached a patch that implements this.

--
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