[][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 From<ShapeError> for LinalgError[src]

impl Debug for LinalgError[src]

impl Display for LinalgError[src]

impl Error for LinalgError[src]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for LinalgError

impl Sync for LinalgError

Blanket Implementations

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

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

impl<T> From<T> for T[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.

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

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

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