pub struct Grad<M, S> {
pub mu: M,
pub Sigma: S,
}Expand description
Gradient of parameters of a Normal distribution.
Fields§
§mu: MGradient of the mean parameter \(\bm{\mu}\).
Sigma: SGradient of the covariance parameter \(\bm{\Sigma}\).
Trait Implementations§
impl<M: Copy, S: Copy> Copy for Grad<M, S>
Auto Trait Implementations§
impl<M, S> Freeze for Grad<M, S>
impl<M, S> RefUnwindSafe for Grad<M, S>where
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<M, S> Send for Grad<M, S>
impl<M, S> Sync for Grad<M, S>
impl<M, S> Unpin for Grad<M, S>
impl<M, S> UnwindSafe for Grad<M, S>where
M: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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