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

Error with message

Tuple Fields of Error

0: String
Incompatibility

called when a matrix multiplication is invalid due to incompatible dimensions the tuple represents the left and right sizes

Singularity

Sigularity errors occur when a matrix cannot be inverted, often encountered when using LU Decomposition in FEA

NonUniqueSolution

When many solutions exist and the answer is required in parametric form More unknowns exist than equations AKA a dependent solution

Inconsistent

Inconsistent: When the right hand side is zero and left hand side is not

NumericInstability

Numeric Instability, where rounding of floating point numbers may result in incorrect answers

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.