[][src]Enum ndarray_linalg::error::LinalgError

[]
pub enum LinalgError {
    NotSquare {
        rows: i32,
        cols: i32,
    },
    Lapack {
        return_code: i32,
    },
    InvalidStride {
        s0: Ixs,
        s1: Ixs,
    },
    MemoryNotCont,
    Shape(ShapeError),
}
[]

Master Error type of this crate

Variants

NotSquare
[]

Matrix is not square

[]

Fields of NotSquare

rows: i32cols: i32
Lapack
[]

LAPACK subroutine returns non-zero code

[]

Fields of Lapack

return_code: i32
InvalidStride
[]

Strides of the array is not supported

[]

Fields of InvalidStride

s0: Ixss1: Ixs
MemoryNotCont
[]

Memory is not aligned continously

Shape(ShapeError)
[]

Strides of the array is not supported

Trait Implementations

impl Debug for LinalgError[src][+]

impl Display for LinalgError[src][+]

impl Error for LinalgError[src][+]

impl From<ShapeError> for LinalgError[src][+]

Auto Trait Implementations

impl RefUnwindSafe for LinalgError

impl Send for LinalgError

impl Sync for LinalgError

impl Unpin for LinalgError

impl UnwindSafe for LinalgError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToString for T where
    T: Display + ?Sized
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.