Enum numb_rs::matrix::MatrixError [−][src]
pub enum MatrixError {
Error(String),
Incompatibility,
Singularity,
NonUniqueSolution,
Inconsistent,
NumericInstability,
}
Expand description
an error type specific to matrices
Variants
Error with message
Tuple Fields of Error
0: String
called when a matrix multiplication is invalid due to incompatible dimensions the tuple represents the left and right sizes
Sigularity errors occur when a matrix cannot be inverted, often encountered when using LU Decomposition in FEA
When many solutions exist and the answer is required in parametric form More unknowns exist than equations AKA a dependent solution
Inconsistent: When the right hand side is zero and left hand side is not
Numeric Instability, where rounding of floating point numbers may result in incorrect answers
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.