Skip to content

Add note that shuffle uses Fisher–Yates shuffle which is unbiased#138

Merged
alexcrichton merged 1 commit intorust-random:masterfrom
burdges:unbiased
Feb 27, 2017
Merged

Add note that shuffle uses Fisher–Yates shuffle which is unbiased#138
alexcrichton merged 1 commit intorust-random:masterfrom
burdges:unbiased

Conversation

@burdges
Copy link
Contributor

@burdges burdges commented Jan 29, 2017

Not sure if you actually want that wikipedia link. Or if one should reference Knuth, etc. instead. Just saying Fisher–Yates shuffle should help folks figure out that the result is unbiased.

@alexcrichton alexcrichton merged commit bb05039 into rust-random:master Feb 27, 2017
@alexcrichton
Copy link
Contributor

Thanks!

pitdicker pushed a commit to pitdicker/rand that referenced this pull request Apr 4, 2018
Add note that shuffle uses Fisher–Yates shuffle which is unbiased
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants