Think about Loose Coupling | |
PerlMonks |
Re: Fastest way to calculate hypergeometric distribution probabilities (i.e. BIG factorials)?by aquarium (Curate) |
on Jun 14, 2005 at 00:27 UTC ( [id://466329]=note: print w/replies, xml ) | Need Help?? |
i can't remember the module name, but what it does is remember previous results....this greatly speeds up calculations of factorials. e.g. when you are working out 7 factorial, it already remembers the result of 6!, 5!, 4!, 3!, 2!, 1!. look around in the math modules on CPAN
the hardest line to type correctly is: stty erase ^H
In Section
Seekers of Perl Wisdom
|
|