Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1007 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 1007 Bytes

Random Package Documentation Build

The packages provides sources of randomness.

Example

use random::Source;

let mut source = random::default(42);
println!("Scalar: {:?}", source.read::<f64>());
println!("Vector: {:?}", source.iter().take(2).collect::<Vec<f64>>());

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.