pub struct SparsePcaResult {
pub u: Vec<f64>,
pub v: Vec<f64>,
pub sigmas: Vec<f64>,
pub iterations: Vec<usize>,
}Expand description
Sparse PCA result containing components and singular values.
Fields§
§u: Vec<f64>u columns stacked as n × k row-major (one column per component).
v: Vec<f64>v columns stacked as p × k row-major.
sigmas: Vec<f64>§iterations: Vec<usize>Trait Implementations§
Source§impl Clone for SparsePcaResult
impl Clone for SparsePcaResult
Source§fn clone(&self) -> SparsePcaResult
fn clone(&self) -> SparsePcaResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SparsePcaResult
impl RefUnwindSafe for SparsePcaResult
impl Send for SparsePcaResult
impl Sync for SparsePcaResult
impl Unpin for SparsePcaResult
impl UnsafeUnpin for SparsePcaResult
impl UnwindSafe for SparsePcaResult
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