a bounded zipf generator ported from Go
Project description
bounded-zipf
Bounded Zipf generator ported from Go:
https://github.com/golang/go/blob/master/src/math/rand/zipf.go
from bounded_zipf import Zipf
z = Zipf(1.0001, 10, 100000)
num = z.get()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bounded_zipf-1.0.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for bounded_zipf-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b93fa39568dfa8d83763b2eb7cf67f9a7667a9dcbde12e964a072e905b4eeca |
|
MD5 | 088ec06b6dfe60bb3c0a00d225326061 |
|
BLAKE2b-256 | 2d412ea40e69a9e7f4e20d0de362a4d19e0e0be6cfd144cd246b859e9ceb7632 |