Enum ndarray_linalg::error::LinalgError [−][src]
pub enum LinalgError {
NotSquare {
rows: i32,
cols: i32,
},
Lapack(Error),
InvalidStride {
s0: Ixs,
s1: Ixs,
},
MemoryNotCont,
NotStandardShape {
obj: &'static str,
rows: i32,
cols: i32,
},
Shape(ShapeError),
}Expand description
Master Error type of this crate
Variants
Matrix is not square
LAPACK subroutine returns non-zero code
Tuple Fields of Lapack
0: ErrorStrides of the array is not supported
Memory is not aligned continously
Obj cannot be made from a (rows, cols) matrix
Strides of the array is not supported
Tuple Fields of Shape
0: ShapeErrorTrait Implementations
Performs the conversion.