-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace distribution::Sample with Distribution + polymorphism over Rng #256
Merged
Commits on Feb 19, 2018
-
Replace Sample and IndependentSample with Distribution
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
Configuration menu - View commit details
-
Copy full SHA for 8a19d63 - Browse repository at this point
Copy the full SHA 8a19d63View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceefe5c - Browse repository at this point
Copy the full SHA ceefe5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 147aa86 - Browse repository at this point
Copy the full SHA 147aa86View commit details -
Remove impl of Rand SeedableRng impls
Replaces rng.gen() to seed new RNGs with from_rng(&mut rng)
Configuration menu - View commit details
-
Copy full SHA for e98e62c - Browse repository at this point
Copy the full SHA e98e62cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fdf707 - Browse repository at this point
Copy the full SHA 7fdf707View commit details -
Move float sampling from Rand to distributions
Move default sampling to Default distribution Make Open01 and Closed01 distributions instead of wrappers
Configuration menu - View commit details
-
Copy full SHA for d48b40e - Browse repository at this point
Copy the full SHA d48b40eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfa41f9 - Browse repository at this point
Copy the full SHA cfa41f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 865e4ae - Browse repository at this point
Copy the full SHA 865e4aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49a4358 - Browse repository at this point
Copy the full SHA 49a4358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f8c352 - Browse repository at this point
Copy the full SHA 0f8c352View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18ae3fb - Browse repository at this point
Copy the full SHA 18ae3fbView commit details -
Make Rng::gen() and random() use Uniform.
This breaks rand_derive because gen() no longer supports derived types.
Configuration menu - View commit details
-
Copy full SHA for 7dc370f - Browse repository at this point
Copy the full SHA 7dc370fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f0892a - Browse repository at this point
Copy the full SHA 3f0892aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11b2b45 - Browse repository at this point
Copy the full SHA 11b2b45View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.