Enum ndarray::ShapeError [] [src]

pub enum ShapeError {
    IncompatibleShapes(Box<[Ix]>, Box<[Ix]>),
    IncompatibleLayout,
    DimensionTooLarge(Box<[Ix]>),
}

An error that can be produced by .into_shape()

Variants

incompatible shapes in reshape, (from, to)

incompatible layout: not contiguous

Dimension too large (shape)

Trait Implementations

impl Debug for ShapeError
[src]

Formats the value using the given formatter.

impl Clone for ShapeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for ShapeError
[src]

A short description of the error. Read more

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

impl Display for ShapeError
[src]

Formats the value using the given formatter.