Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Hypergeometric Probability Calculation (speeding up 'choose' )

by Itatsumaki (Friar)
on Dec 05, 2003 at 17:12 UTC ( #312561=note: print w/replies, xml ) Need Help??


in reply to Re: Hypergeometric Probability Calculation (speeding up 'choose' )
in thread Hypergeometric Probability Calculation

Oh wow... that benchmark isn't lying: doing it this way is radically faster. After some thought this morning, I had figured I would need to pre-calculate and store the first 15k factorials rather than do the calculation each time, but these changes help avoid that. Thank you.

  • Comment on Re: Re: Hypergeometric Probability Calculation (speeding up 'choose' )

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://312561]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-05-27 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (152 votes). Check out past polls.

    Notices?