Public Member Functions | List of all members
ibis::discreteZipf1 Class Reference

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].
 

Detailed Description

A specialized case of the Zipf distribution f(x) = 1/(1+x).

Note
This is an experimental approach; not necessarily faster than the generic version.

The documentation for this class was generated from the following file:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive