Enum linxal::solve_linear::types::SolveError
[−]
[src]
pub enum SolveError { BadLayout, InconsistentLayout, IllegalValue(i32), Singular(i32), NotSquare(usize, usize), InconsistentDimensions(usize, usize), }
Error enum returns by various SolveLinear
-esque compute methods.
Variants
BadLayout
The layout of one of the matrices is not c- or fortran-contiguous.
InconsistentLayout
The layouts of a
and b
are different. (i.e. one is
column-major and the other is row-major.)
IllegalValue(i32)
An illegal value was passed into the underlying LAPACK. Users should never see this error.
Singular(i32)
The matrix a
, thus a solution b
cannot necessarily be
found.
NotSquare(usize, usize)
The input a
matrix is not square.
InconsistentDimensions(usize, usize)
The dimensions of a
and b
do not match.
Trait Implementations
impl Debug for SolveError
[src]
impl Clone for SolveError
[src]
fn clone(&self) -> SolveError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more