pub struct SVDOptions {
pub k: usize,
pub maxiter: usize,
pub tol: f64,
pub n_oversamples: usize,
pub n_iter: usize,
pub method: SVDMethod,
pub random_seed: Option<u64>,
pub compute_u: bool,
pub compute_vt: bool,
}
Expand description
Options for SVD computation
Fields§
§k: usize
Number of singular values to compute
maxiter: usize
Maximum number of iterations
tol: f64
Convergence tolerance
n_oversamples: usize
Number of additional singular vectors for randomized methods
n_iter: usize
Number of power iterations for randomized methods
method: SVDMethod
SVD computation method
random_seed: Option<u64>
Random seed for reproducibility
compute_u: bool
Whether to compute left singular vectors (U)
compute_vt: bool
Whether to compute right singular vectors (V^T)
Trait Implementations§
Source§impl Clone for SVDOptions
impl Clone for SVDOptions
Source§fn clone(&self) -> SVDOptions
fn clone(&self) -> SVDOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SVDOptions
impl Debug for SVDOptions
Auto Trait Implementations§
impl Freeze for SVDOptions
impl RefUnwindSafe for SVDOptions
impl Send for SVDOptions
impl Sync for SVDOptions
impl Unpin for SVDOptions
impl UnwindSafe for SVDOptions
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