Trait IsSquare

Source
pub trait IsSquare {
    // Required method
    fn is_square(&self) -> bool;
}
Expand description

IsSquare is a trait for checking if the layout, or dimensionality, of a tensor is square.

Required Methods§

Source

fn is_square(&self) -> bool

Implementations on Foreign Types§

Source§

impl<S, D> IsSquare for ArrayBase<S, D>
where D: Dimension, S: RawData,

Source§

fn is_square(&self) -> bool

Implementors§