pub struct SparseEigenConfig {
pub n_eigenvalues: usize,
pub target: EigenvalueTarget,
pub method: EigenMethod,
pub symmetric: bool,
pub max_iter: usize,
pub tol: f64,
pub krylov_dim: Option<usize>,
pub verbose: bool,
}Expand description
Configuration for the unified sparse eigenvalue solver.
Fields§
§n_eigenvalues: usizeNumber of eigenvalues to compute.
target: EigenvalueTargetWhich eigenvalues to target.
method: EigenMethodWhich method to use (Auto selects automatically).
symmetric: boolWhether the matrix is known to be symmetric.
max_iter: usizeMaximum iterations / restarts.
tol: f64Convergence tolerance.
krylov_dim: Option<usize>Krylov subspace dimension (for IRAM / Lanczos).
verbose: boolWhether to print convergence information.
Trait Implementations§
Source§impl Clone for SparseEigenConfig
impl Clone for SparseEigenConfig
Source§fn clone(&self) -> SparseEigenConfig
fn clone(&self) -> SparseEigenConfig
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 SparseEigenConfig
impl Debug for SparseEigenConfig
Auto Trait Implementations§
impl Freeze for SparseEigenConfig
impl RefUnwindSafe for SparseEigenConfig
impl Send for SparseEigenConfig
impl Sync for SparseEigenConfig
impl Unpin for SparseEigenConfig
impl UnsafeUnpin for SparseEigenConfig
impl UnwindSafe for SparseEigenConfig
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