pub struct Pcg64 { /* private fields */ }Expand description
NumPy’s PCG64 generator (numpy.random.PCG64, the one behind default_rng): a 128-bit linear
congruential generator with the XSL-RR output function.
Implementations§
Source§impl Pcg64
impl Pcg64
Sourcepub fn from_seed_sequence(ss: &SeedSequence) -> Self
pub fn from_seed_sequence(ss: &SeedSequence) -> Self
PCG64(seed_sequence).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pcg64
impl RefUnwindSafe for Pcg64
impl Send for Pcg64
impl Sync for Pcg64
impl Unpin for Pcg64
impl UnsafeUnpin for Pcg64
impl UnwindSafe for Pcg64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more