A specialized case of the Zipf distribution f(x) = 1/(1+x). More...
#include <twister.h>
Public Member Functions | |
discreteZipf1 (ibis::uniformRandomNumber &ur, unsigned long imax=100) | |
unsigned long | next () |
unsigned long | operator() () |
Return a discrete random number in the range of [0, imax]. | |
A specialized case of the Zipf distribution f(x) = 1/(1+x).