IsSquare

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<A, S, D> IsSquare for ArrayBase<S, D, A>
where D: Dimension, S: RawData<Elem = A>,

Source§

fn is_square(&self) -> bool

Implementors§