Trait ndarray::ShapeBuilder [] [src]

pub trait ShapeBuilder {
    type Dim: Dimension;
    fn f(self) -> Shape<Self::Dim>;
    fn set_f(self, is_f: bool) -> Shape<Self::Dim>;
    fn strides(self, strides: Self::Dim) -> StrideShape<Self::Dim>;
}

A trait for Shape and D where D: Dimension that allows customizing the memory layout (strides) of an array shape.

This trait is used together with array constructor methods like Array::from_shape_vec.

Associated Types

Required Methods

Implementors