pub enum KrylovError {
MaximumStepsReached(usize, Scalar),
NotPositiveDefinite(Scalar),
PreconditionerNotPositiveDefinite(Scalar),
StoppedShortening(usize, Scalar),
}Expand description
Possible errors encountered during an iterative linear solve.
Variants§
MaximumStepsReached(usize, Scalar)
NotPositiveDefinite(Scalar)
PreconditionerNotPositiveDefinite(Scalar)
StoppedShortening(usize, Scalar)
Trait Implementations§
Source§impl Debug for KrylovError
impl Debug for KrylovError
Source§impl Display for KrylovError
impl Display for KrylovError
Source§impl Error for KrylovError
impl Error for KrylovError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<KrylovError> for SolveError
impl From<KrylovError> for SolveError
Source§fn from(error: KrylovError) -> Self
fn from(error: KrylovError) -> Self
Converts to this type from the input type.
Source§impl From<KrylovError> for OptimizationError
impl From<KrylovError> for OptimizationError
Source§fn from(error: KrylovError) -> Self
fn from(error: KrylovError) -> Self
Converts to this type from the input type.
Source§impl From<KrylovError> for AssertionError
impl From<KrylovError> for AssertionError
Source§fn from(error: KrylovError) -> Self
fn from(error: KrylovError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KrylovError
impl RefUnwindSafe for KrylovError
impl Send for KrylovError
impl Sync for KrylovError
impl Unpin for KrylovError
impl UnsafeUnpin for KrylovError
impl UnwindSafe for KrylovError
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