Enum rulinalg::error::ErrorKind [] [src]

pub enum ErrorKind {
    InvalidArg,
    DecompFailure,
    AlgebraFailure,
    DivByZero,
    ScalarConversionFailure,
    InvalidPermutation,
}

Types of errors produced in the linalg module.

List intended to grow and so you should be wary of matching against explicitly.

Variants

An argument did not uphold a necessary criteria for the function.

A failure to decompose due to some property of the data.

A failure due to some algebraic constraints not being met.

Tried to divide by zero

Failure due to inability to convert between scalar types

A user-supplied permutation is not a valid permutation.

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.

impl PartialEq for ErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.