pub struct Diagnostics<T: Float> {
pub non_zero: usize,
pub dimensions: usize,
pub iterations: usize,
pub transposed: bool,
pub lanczos_steps: usize,
pub ritz_values_stabilized: usize,
pub significant_values: usize,
pub singular_values: usize,
pub end_interval: [T; 2],
pub kappa: T,
pub random_seed: u32,
}Expand description
Computational Diagnostics
§Fields
- non_zero: Number of non-zeros in the matrix
- dimensions: Number of dimensions attempted (bounded by matrix shape)
- iterations: Number of iterations attempted (bounded by dimensions and matrix shape)
- transposed: True if the matrix was transposed internally
- lanczos_steps: Number of Lanczos steps performed
- ritz_values_stabilized: Number of ritz values
- significant_values: Number of significant values discovered
- singular_values: Number of singular values returned
- end_interval: left, right end of interval containing unwanted eigenvalues
- kappa: relative accuracy of ritz values acceptable as eigenvalues
- random_seed: Random seed provided or the seed generated
Fields§
§non_zero: usize§dimensions: usize§iterations: usize§transposed: bool§lanczos_steps: usize§ritz_values_stabilized: usize§significant_values: usize§singular_values: usize§end_interval: [T; 2]§kappa: T§random_seed: u32Trait Implementations§
Source§impl<T: Clone + Float> Clone for Diagnostics<T>
impl<T: Clone + Float> Clone for Diagnostics<T>
Source§fn clone(&self) -> Diagnostics<T>
fn clone(&self) -> Diagnostics<T>
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 moreimpl<T: Float> StructuralPartialEq for Diagnostics<T>
Auto Trait Implementations§
impl<T> Freeze for Diagnostics<T>where
T: Freeze,
impl<T> RefUnwindSafe for Diagnostics<T>where
T: RefUnwindSafe,
impl<T> Send for Diagnostics<T>where
T: Send,
impl<T> Sync for Diagnostics<T>where
T: Sync,
impl<T> Unpin for Diagnostics<T>where
T: Unpin,
impl<T> UnwindSafe for Diagnostics<T>where
T: UnwindSafe,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.