Struct probability::prelude::random::Xorshift128Plus
[−]
pub struct Xorshift128Plus { // some fields omitted }
The Xorshift128+ algorithm.
References
Sebastiano Vigna, “Further Scramblings of Marsaglia’s Xorshift Generators,” CoRR, 2014.
Methods
impl Xorshift128Plus
fn new(seed: [u64; 2]) -> Xorshift128Plus
Create an instance of the algorithm.
At least one bit of the seed should be nonzero.
Trait Implementations
impl Copy for Xorshift128Plus
impl Clone for Xorshift128Plus
fn clone(&self) -> Xorshift128Plus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more