Skip to main content

Module essentials

Module essentials 

Source
Expand description

All essential items for most use cases

Re-exports§

pub use crate::random::random_normal_array;
pub use crate::random::random_uniform_array;
pub use crate::random::seeded_rng;
pub use crate::random::thread_rng;
pub use crate::random::Beta;
pub use crate::random::Categorical;
pub use crate::random::Random;
pub use crate::random::WeightedChoice;

Structs§

Normal
The Normal distribution N(μ, σ²).
Uniform
Sample values uniformly between two bounds.

Traits§

Rng
User-level interface for RNGs
RngCore
Implementation-level interface for RNGs
SeedableRng
A random number generator that can be explicitly seeded.