pub struct Moments {
pub mean: Vec<f64>,
pub cov: Vec<Vec<f64>>,
}Expand description
First two moments of a multivariate Gaussian (mean + full covariance).
Fields§
§mean: Vec<f64>§cov: Vec<Vec<f64>>Row-major n x n covariance matrix stored as Vec<Vec<f64>>.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Moments
impl RefUnwindSafe for Moments
impl Send for Moments
impl Sync for Moments
impl Unpin for Moments
impl UnsafeUnpin for Moments
impl UnwindSafe for Moments
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