Skip to main content

GaussianRng

Trait GaussianRng 

Source
pub trait GaussianRng {
    // Required method
    fn next_gaussian(&mut self) -> Real;
}
Expand description

A generator of standard normal (mean 0, standard deviation 1) pseudo-random deviates.

Required Methods§

Source

fn next_gaussian(&mut self) -> Real

The next standard normal deviate.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§