#[repr(C)]pub struct ARMat {
pub m: Vec<ARdouble>,
pub row: i32,
pub clm: i32,
}Expand description
Matrix structure
Fields§
§m: Vec<ARdouble>§row: i32§clm: i32Implementations§
Source§impl ARMat
impl ARMat
Source§impl ARMat
impl ARMat
pub fn ex(&self, mean: &mut [ARdouble]) -> Result<(), &'static str>
pub fn center(&mut self, mean: &[ARdouble]) -> Result<(), &'static str>
pub fn x_by_xt(&self, output: &mut ARMat) -> Result<(), &'static str>
pub fn xt_by_x(&self, output: &mut ARMat) -> Result<(), &'static str>
pub fn ev_create( &self, u: &ARMat, output: &mut ARMat, ev: &mut [ARdouble], ) -> Result<(), &'static str>
pub fn pca_internal( &self, output: &mut ARMat, ev: &mut [ARdouble], ) -> Result<(), &'static str>
pub fn pca( &self, evec: &mut ARMat, ev: &mut ARVec, mean: &mut ARVec, ) -> Result<(), &'static str>
Trait Implementations§
impl StructuralPartialEq for ARMat
Auto Trait Implementations§
impl Freeze for ARMat
impl RefUnwindSafe for ARMat
impl Send for ARMat
impl Sync for ARMat
impl Unpin for ARMat
impl UnsafeUnpin for ARMat
impl UnwindSafe for ARMat
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