Trait ndarray::RemoveAxis [] [src]

pub trait RemoveAxis: Dimension {
    type Smaller: Dimension;
    fn remove_axis(&self, axis: Axis) -> Self::Smaller;
}

Array shape with a next smaller dimension.

RemoveAxis defines a larger-than relation for array shapes: removing one axis from Self gives smaller dimension Smaller.

Associated Types

Required Methods

fn remove_axis(&self, axis: Axis) -> Self::Smaller

Implementors