blob: 54a96b4a0ae05769d778746dd54eab19e2bbf1b9 (
plain)
1
2
3
4
5
6
7
8
|
#ifndef ZIPF_H
#define ZIPF_H
/* Return a random number from a zipf distribution between 1 and limit
inclusive. Alpha must be > 1. */
extern int rand_zipf (double alpha, int limit);
#endif
|