pub enum StabilityWarning {
HighConditionNumber {
condition_number: f64,
location: String,
},
NearSingular {
smallest_eigenvalue: f64,
location: String,
},
Overflow {
value: f64,
location: String,
},
Underflow {
value: f64,
location: String,
},
PrecisionLoss {
estimated_loss: f64,
location: String,
},
RankDeficient {
expected_rank: usize,
actual_rank: usize,
location: String,
},
}Expand description
Types of numerical stability warnings StabilityWarning
Variants§
HighConditionNumber
High condition number detected
NearSingular
Near-singular matrix detected
Overflow
Overflow detected
Underflow
Underflow detected
PrecisionLoss
Significant precision loss
RankDeficient
Rank deficiency detected
Trait Implementations§
Source§impl Clone for StabilityWarning
impl Clone for StabilityWarning
Source§fn clone(&self) -> StabilityWarning
fn clone(&self) -> StabilityWarning
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 StabilityWarning
impl RefUnwindSafe for StabilityWarning
impl Send for StabilityWarning
impl Sync for StabilityWarning
impl Unpin for StabilityWarning
impl UnwindSafe for StabilityWarning
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