Struct ndarray::Shape
[−]
[src]
pub struct Shape<D> { /* fields omitted */ }A contiguous array shape of n dimensions.
Either c- or f- memory ordered (c a.k.a row major is the default).
Methods
impl<D> Shape<D> where
D: Dimension, [src]
D: Dimension,
Trait Implementations
impl<D> From<D> for Shape<D> where
D: Dimension, [src]
D: Dimension,
fn from(dimension: D) -> Shape<D>[src]
Create a Shape from dimension, using the default memory layout.
impl<D> ShapeBuilder for Shape<D> where
D: Dimension, [src]
D: Dimension,
type Dim = D
type Strides = D
fn into_shape(self) -> Shape<D>[src]
fn f(self) -> Self[src]
fn set_f(self, is_f: bool) -> Self[src]
fn strides(self, st: D) -> StrideShape<D>[src]
impl<D: Copy> Copy for Shape<D>[src]
impl<D: Clone> Clone for Shape<D>[src]
fn clone(&self) -> Shape<D>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more