pub struct IramConfig {
pub n_eigenvalues: usize,
pub krylov_dim: usize,
pub max_restarts: usize,
pub tol: f64,
pub which: WhichEigenvalues,
pub harmonic_ritz: bool,
pub shift: Option<f64>,
pub verbose: bool,
}Expand description
Configuration for the Implicitly Restarted Arnoldi Method.
Fields§
§n_eigenvalues: usizeNumber of eigenvalues to compute.
krylov_dim: usizeDimension of the Krylov subspace (must be > n_eigenvalues).
max_restarts: usizeMaximum number of restart cycles.
tol: f64Convergence tolerance.
which: WhichEigenvaluesWhich eigenvalues to target.
harmonic_ritz: boolWhether to use harmonic Ritz extraction.
shift: Option<f64>Shift value for shift-and-invert mode.
verbose: boolWhether to print convergence diagnostics.
Trait Implementations§
Source§impl Clone for IramConfig
impl Clone for IramConfig
Source§fn clone(&self) -> IramConfig
fn clone(&self) -> IramConfig
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 IramConfig
impl Debug for IramConfig
Auto Trait Implementations§
impl Freeze for IramConfig
impl RefUnwindSafe for IramConfig
impl Send for IramConfig
impl Sync for IramConfig
impl Unpin for IramConfig
impl UnsafeUnpin for IramConfig
impl UnwindSafe for IramConfig
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