Enum linxal::solve_linear::types::SolveError [] [src]

pub enum SolveError {
    BadLayout,
    InconsistentLayout,
    IllegalValue(i32),
    Singular(i32),
    NotSquare(usizeusize),
    InconsistentDimensions(usizeusize),
}

Error enum returns by various SolveLinear-esque compute methods.

Variants

The layout of one of the matrices is not c- or fortran-contiguous.

The layouts of a and b are different. (i.e. one is column-major and the other is row-major.)

An illegal value was passed into the underlying LAPACK. Users should never see this error.

The matrix a, thus a solution b cannot necessarily be found.

The input a matrix is not square.

The dimensions of a and b do not match.

Trait Implementations

impl Debug for SolveError
[src]

Formats the value using the given formatter.

impl Clone for SolveError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more