zipf 0.0.1 zipf: ^0.0.1 copied to clipboard
Dart implementation of a Zipf-distributed random number generator.
dart-zipf #
Dart implementation of a Zipf-distributed random number generator.
This implementation is effectively a direct port of Apache Common's RejectionInversionZipfSampler, written in Java. It is based on the method described by Wolfgang Hörmann and Gerhard Derflinger in Rejection-inversion to generate variates from monotone discrete distributions from ACM Transactions on Modeling and Computer Simulation (TOMACS) 6.3 (1996).