pub enum MathError {
NotQuadratic,
SingularMatrix,
}Expand description
Errors returned by math operations in this crate.
Variants§
NotQuadratic
The a coefficient is zero, so the equation is not quadratic.
SingularMatrix
The matrix cannot be inverted or used with Cramer’s rule because its determinant is zero.
Trait Implementations§
impl StructuralPartialEq for MathError
Auto Trait Implementations§
impl Freeze for MathError
impl RefUnwindSafe for MathError
impl Send for MathError
impl Sync for MathError
impl Unpin for MathError
impl UnsafeUnpin for MathError
impl UnwindSafe for MathError
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