pub struct ResolventData {
pub spectrum: Vec<f64>,
pub norm_bound: f64,
pub is_compact: bool,
pub is_self_adjoint: bool,
}Expand description
Represents the resolvent data of a linear operator.
Fields§
§spectrum: Vec<f64>Spectrum (eigenvalues for finite-dimensional).
norm_bound: f64Operator norm bound.
is_compact: boolWhether the operator is compact.
is_self_adjoint: boolWhether the operator is self-adjoint.
Implementations§
Source§impl ResolventData
impl ResolventData
Sourcepub fn in_resolvent_set(&self, lambda: f64, tol: f64) -> bool
pub fn in_resolvent_set(&self, lambda: f64, tol: f64) -> bool
Returns the resolvent set (complement of spectrum) membership check.
Sourcepub fn resolvent_norm_estimate(&self, lambda: f64) -> Option<f64>
pub fn resolvent_norm_estimate(&self, lambda: f64) -> Option<f64>
Estimates ||(λ - A)^{-1}|| using spectral theorem for self-adjoint.
Sourcepub fn spectral_gap(&self) -> Option<f64>
pub fn spectral_gap(&self) -> Option<f64>
Returns the spectral gap (distance between consecutive eigenvalues, min).
Sourcepub fn is_invertible(&self) -> bool
pub fn is_invertible(&self) -> bool
Checks if the operator is invertible (0 not in spectrum).
Trait Implementations§
Source§impl Clone for ResolventData
impl Clone for ResolventData
Source§fn clone(&self) -> ResolventData
fn clone(&self) -> ResolventData
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 moreAuto Trait Implementations§
impl Freeze for ResolventData
impl RefUnwindSafe for ResolventData
impl Send for ResolventData
impl Sync for ResolventData
impl Unpin for ResolventData
impl UnsafeUnpin for ResolventData
impl UnwindSafe for ResolventData
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