#[non_exhaustive]pub struct LanczosOptions {
pub krylov_dimension: usize,
pub tolerance: f64,
}Expand description
Dimension and breakdown tolerance for a Lanczos decomposition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.krylov_dimension: usizeMaximum number of orthonormal Krylov vectors.
tolerance: f64Threshold for norm breakdown and Hermiticity checks.
Implementations§
Trait Implementations§
Source§impl Clone for LanczosOptions
impl Clone for LanczosOptions
Source§fn clone(&self) -> LanczosOptions
fn clone(&self) -> LanczosOptions
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 moreSource§impl Debug for LanczosOptions
impl Debug for LanczosOptions
Source§impl PartialEq for LanczosOptions
impl PartialEq for LanczosOptions
Source§fn eq(&self, other: &LanczosOptions) -> bool
fn eq(&self, other: &LanczosOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LanczosOptions
Auto Trait Implementations§
impl Freeze for LanczosOptions
impl RefUnwindSafe for LanczosOptions
impl Send for LanczosOptions
impl Sync for LanczosOptions
impl Unpin for LanczosOptions
impl UnsafeUnpin for LanczosOptions
impl UnwindSafe for LanczosOptions
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,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.