Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-random
/
rand
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
509
Star
2.1k
Code
Issues
17
Pull requests
4
Actions
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
rand_distr: Add Zipf distribution
- #1136
#1136
Merged
vks
merged 26 commits into
rust-random:master
rust-random/rand:master
from
vks:zipf
vks/rand:zipf
Copy head branch name to clipboard
Aug 4, 2021
Conversation
Commits
26
(26)
Checks
Files changed
Merged
rand_distr: Add Zipf distribution
#1136
vks
merged 26 commits into
rust-random:master
rust-random/rand:master
from
vks:zipf
vks/rand:zipf
Copy head branch name to clipboard
Commits
Commits on Jun 16, 2021
rand_distr: Add Zipf distribution
vks
committed
0360aa9
View commit details
Copy full SHA for 0360aa9
Browse repository at this point
Update changelog
vks
committed
1e1e768
View commit details
Copy full SHA for 1e1e768
Browse repository at this point
Zipf: Use `OpenClosed01`
vks
committed
a57247d
View commit details
Copy full SHA for a57247d
Browse repository at this point
Zipf: Add benchmark
vks
committed
718e71b
View commit details
Copy full SHA for 718e71b
Browse repository at this point
Fix value stability tests
vks
committed
c2ecf1b
View commit details
Copy full SHA for c2ecf1b
Browse repository at this point
Rename `Zipf` to `Zeta`
Show description for 6c27184
vks
committed
6c27184
View commit details
Copy full SHA for 6c27184
Browse repository at this point
Don't claim `Zeta` follows Zipf's law
Show description for b06c2f6
vks
committed
b06c2f6
View commit details
Copy full SHA for b06c2f6
Browse repository at this point
rand_distr: Add Zipf (not zeta) distribution
vks
committed
a07b321
View commit details
Copy full SHA for a07b321
Browse repository at this point
Zipf: Fix `s = 1` special case
Show description for 6270248
vks
committed
6270248
View commit details
Copy full SHA for 6270248
Browse repository at this point
Zipf: Mention that rounding may occur
vks
committed
4d67af2
View commit details
Copy full SHA for 4d67af2
Browse repository at this point
Zipf: Simplify trait bounds
vks
committed
139e898
View commit details
Copy full SHA for 139e898
Browse repository at this point
Zipf: Simplify calculation of ratio
Show description for f514fd6
vks
committed
f514fd6
View commit details
Copy full SHA for f514fd6
Browse repository at this point
Zipf: Update benchmarks
vks
committed
ccaa4de
View commit details
Copy full SHA for ccaa4de
Browse repository at this point
Zeta: Inline distribution methods
vks
committed
3cccc64
View commit details
Copy full SHA for 3cccc64
Browse repository at this point
Group `Zeta` and `Zipf` with rate-related distributions
Show description for 14d55f8
vks
committed
14d55f8
View commit details
Copy full SHA for 14d55f8
Browse repository at this point
Commits on Jul 27, 2021
Zeta and Zipf: Improve docs
vks
committed
85f55b2
View commit details
Copy full SHA for 85f55b2
Browse repository at this point
Zeta: Replace likely impossible if with debug_assert
vks
committed
2a33433
View commit details
Copy full SHA for 2a33433
Browse repository at this point
Commits on Jul 28, 2021
Give credit for implementation details
vks
committed
e19349c
View commit details
Copy full SHA for e19349c
Browse repository at this point
Zipf: Fix `inv_cdf` for `s = 1`
vks
committed
a746fd2
View commit details
Copy full SHA for a746fd2
Browse repository at this point
Zipf: Correctly calculate rejection ratio
vks
committed
b053683
View commit details
Copy full SHA for b053683
Browse repository at this point
Zipf: Add debug_assert for invariant
vks
committed
0f9243c
View commit details
Copy full SHA for 0f9243c
Browse repository at this point
Commits on Jul 30, 2021
Zipf: Avoid division inside loop
vks
committed
e5aff9a
View commit details
Copy full SHA for e5aff9a
Browse repository at this point
Zeta: Mention algorithm in doc comment
vks
committed
a32cd08
View commit details
Copy full SHA for a32cd08
Browse repository at this point
Zeta: Avoid division in rejection criterion
vks
committed
72a6333
View commit details
Copy full SHA for 72a6333
Browse repository at this point
Commits on Aug 2, 2021
Zeta: Fix infinite loop for small `a`
vks
committed
cf4b7e4
View commit details
Copy full SHA for cf4b7e4
Browse repository at this point
Commits on Aug 3, 2021
Zeta: Document cases where infinity is returned
vks
committed
fe5a6e1
View commit details
Copy full SHA for fe5a6e1
Browse repository at this point
You can’t perform that action at this time.