DimensionNames

Trait DimensionNames 

Source
pub trait DimensionNames {
    // Required method
    fn names(&self) -> [Dimension; 2];
}
Expand description

The first and second dimension name a Matrix type wrapped in a TensorRefMatrix will report on its view shape. If you don’t care what the dimension names are, RowAndColumn can be used which will hardcode the dimension names to “row” and “column” respectively.

Required Methods§

Source

fn names(&self) -> [Dimension; 2]

Implementations on Foreign Types§

Source§

impl DimensionNames for [Dimension; 2]

Any array of two dimension names will implement DimensionNames returning those names in the same order.

Source§

fn names(&self) -> [Dimension; 2]

Implementors§