pub struct Normal<S: Scalar> {
pub mu: S,
pub sigma: S,
}Expand description
Normal distribution N(mu, sigma^2).
Fields§
§mu: S§sigma: SImplementations§
Trait Implementations§
Source§impl<S: Scalar> ContinuousDistribution<S> for Normal<S>
impl<S: Scalar> ContinuousDistribution<S> for Normal<S>
Auto Trait Implementations§
impl<S> Freeze for Normal<S>where
S: Freeze,
impl<S> RefUnwindSafe for Normal<S>where
S: RefUnwindSafe,
impl<S> Send for Normal<S>
impl<S> Sync for Normal<S>
impl<S> Unpin for Normal<S>where
S: Unpin,
impl<S> UnsafeUnpin for Normal<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Normal<S>where
S: UnwindSafe,
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