pub trait MatrixShape {
fn ncol(&self) -> usize;
fn nrow(&self) -> usize;
fn size(&self) -> (usize, usize) { ... }
fn len(&self) -> usize { ... }
}
Required Methods
Provided Methods
Implementors
impl<'l> MatrixShape for &'l Matrix
impl MatrixShape for Matrix
impl<T: MatrixShape> MatrixShape for Transposer<T>
impl<T> MatrixShape for View<T>
impl<T: MatrixShape> MatrixShape for RowAccessor<T>
impl<T: MatrixShape> MatrixShape for ColumnAccessor<T>
impl<L: MatrixShape, R: MatrixShape> MatrixShape for HStack<L, R>
impl<LHS: MatrixShape, RHS: MatrixShape> MatrixShape for MatrixMul<LHS, RHS>
impl<TA: MatrixShape, TB, TO: BinOp> MatrixShape for MatrixBinOp<TA, TB, TO>
impl<TA: MatrixShape, TO: UnOp> MatrixShape for MatrixUnOp<TA, TO>
impl<T: MatrixShape, B: MatrixShape> MatrixShape for VStack<T, B>
impl<T> MatrixShape for Reshape<T>
impl<T> MatrixShape for Slice<T>