Hi David
--- David Sanders <dsanders baselinesolutions.com.au> wrote:
>
> > It would be cool to have also a separate method to
calculate the number of
> > elements resulting of a given combinatoric, with
no need to generate the
> > whole set of elements.
>
> Yes, I've thought of this possibility. Thanks for your
input
This will be extremelly useful, and the factorial rules are
not that
problematic. Only thing is that if you are going to deal
with big numbers, then
you might want to look at bcmath and/or gmp, which is what I
use for
Math_Integer and Math_Fibonacci.
Will look at your code over the weekend.
Cheers.
--
Jesus M. Castagnetto (jcastagnetto yahoo.com)
Web site: http://www.castagnetto.or
g/
Research: http://metallo.scripps.ed
u/
PEAR stuff: http://pear.ph
p.net/user/jmcastagnetto
____________________________________________________________
________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/feat
ures_spam.html
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|