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
IncompatibleShapes(Box<[Ix]>, Box<[Ix]>)incompatible shapes in reshape, (from, to)
IncompatibleLayoutincompatible layout: not contiguous
DimensionTooLarge(Box<[Ix]>)Dimension too large (shape)
Trait Implementations
impl Debug for ShapeError[src]
impl Clone for ShapeError[src]
fn clone(&self) -> ShapeError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Error for ShapeError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0
The lower-level cause of this error, if any. Read more