Re: [math] proposal: ZipfDistribution (code available)

2008-01-19 Thread Luc Maisonobe
Paul Cowan a écrit : Hi all, I'd like to propose adding a Zipf (or Zipfian) integer distribution to commons-math. The Zipf distribution is a distribution which (approximately) reflects many 'real-world' phenomena, e.g. the frequency of use of words in a language. This is a good idea. I

[math] proposal: ZipfDistribution (code available)

2008-01-16 Thread Paul Cowan
Hi all, I'd like to propose adding a Zipf (or Zipfian) integer distribution to commons-math. The Zipf distribution is a distribution which (approximately) reflects many 'real-world' phenomena, e.g. the frequency of use of words in a language. I have a patch available, including test case;