pub struct GaussianDistribution { /* private fields */ }
Expand description
The Gaussian Distribution
Implementations§
Source§impl GaussianDistribution
impl GaussianDistribution
Sourcepub fn new(mean: f64, standard_deviation: f64) -> GaussianDistribution
pub fn new(mean: f64, standard_deviation: f64) -> GaussianDistribution
Creates a new distribution with the specified mean and standard deviation
Trait Implementations§
Source§impl Clone for GaussianDistribution
impl Clone for GaussianDistribution
Source§fn clone(&self) -> GaussianDistribution
fn clone(&self) -> GaussianDistribution
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GaussianDistribution
impl Debug for GaussianDistribution
Source§impl Default for GaussianDistribution
impl Default for GaussianDistribution
Source§impl Distribution for GaussianDistribution
impl Distribution for GaussianDistribution
Source§fn pdf(&self, x: f64) -> f64
fn pdf(&self, x: f64) -> f64
computes the probability distribution function for a particular value
Source§fn get_params(&self) -> Vec<DistributionParams>
fn get_params(&self) -> Vec<DistributionParams>
Returns a set of the known parameters of this distribution.
Source§impl PartialEq for GaussianDistribution
impl PartialEq for GaussianDistribution
impl Copy for GaussianDistribution
impl StructuralPartialEq for GaussianDistribution
Auto Trait Implementations§
impl Freeze for GaussianDistribution
impl RefUnwindSafe for GaussianDistribution
impl Send for GaussianDistribution
impl Sync for GaussianDistribution
impl Unpin for GaussianDistribution
impl UnwindSafe for GaussianDistribution
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