Trait ndarray::RemoveAxis

source ·
pub trait RemoveAxis: Dimension {
    type Smaller: Dimension;

    // Required method
    fn remove_axis(&self, axis: usize) -> Self::Smaller;
}
Expand description

Helper trait to define a larger-than relation for array shapes: removing one axis from Self gives smaller dimension Smaller.

Required Associated Types§

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RemoveAxis for (Ix, Ix)

§

type Smaller = u32

source§

fn remove_axis(&self, axis: usize) -> Ix

source§

impl RemoveAxis for (Ix, Ix, Ix)

§

type Smaller = (u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32, u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32, u32, u32, u32, u32, u32)

source§

fn remove_axis(&self, axis: usize) -> (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

§

type Smaller = (u32, u32, u32, u32, u32, u32, u32, u32, u32, u32, u32)

source§

fn remove_axis( &self, axis: usize, ) -> (Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix)

source§

impl RemoveAxis for Vec<Ix>

§

type Smaller = Vec<u32>

source§

fn remove_axis(&self, axis: usize) -> Vec<Ix>

Implementors§