![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Calculate propabilities without recursion? Coin toss.by happy.barney (Friar) |
on Mar 16, 2011 at 14:50 UTC ( [id://893555]=note: print w/replies, xml ) | Need Help?? |
Memoize (Attribute::Memoize) fac.
Btw: n!/k! = List::Util::reduce { $a * $b } $k+1 .. $n
In Section
Seekers of Perl Wisdom
|
|