Struct extendr_api::prelude::stats::NormalCol
pub struct NormalCol<E>where
E: ComplexField,{
pub nrows: usize,
pub normal: Normal<E>,
}
Expand description
The normal distribution, N(mean, std_dev**2)
for 0 <= i < nrows
.
Fields§
§nrows: usize
Number of rows of the sampled column.
normal: Normal<E>
Normal distribution parameters for a single scalar.
Trait Implementations§
§impl<E> Distribution<Col<E>> for NormalCol<E>
impl<E> Distribution<Col<E>> for NormalCol<E>
Auto Trait Implementations§
impl<E> Freeze for NormalCol<E>
impl<E> RefUnwindSafe for NormalCol<E>
impl<E> Send for NormalCol<E>
impl<E> Sync for NormalCol<E>
impl<E> Unpin for NormalCol<E>
impl<E> UnwindSafe for NormalCol<E>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more