You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Evan Ward (JIRA)" <ji...@apache.org> on 2013/03/27 20:21:16 UTC

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

    [ https://issues.apache.org/jira/browse/MATH-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615646#comment-13615646 ] 

Evan Ward edited comment on MATH-957 at 3/27/13 7:20 PM:
---------------------------------------------------------

Implementation and test case attached.
                
      was (Author: evanward1):
    Implementation and test case.
                  
> 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
>         Attachments: uniform.patch
>
>
> 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