I´m trying to simulate a Poisson distribution, but I´m facing the problem of not having the factorial function. I’m running out of ideas. Is there a way in which I can calculate n! or at least the (n, r) permutaion?
Well, this is not ideal, but if your range for n is limited enough, you could create one table that calculates the various values for n, and then use that table as a lookup for your own n! function. (The lookup table could be closed, so it would not be visible.)
I´m glad to hear about you! Thanks so very much; I guess that will be usefull. In the mean time, Dan Damelin above just gave me a very good solution for the work in progress.
I hope to see you in Rosario on September. Take care.