Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.45 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.45 KB

dart-zipf

Pub Version (including pre-releases) Actions Status codecov

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

Inspired by rust-zipf

Authors

License

Apache-2.0 License