pub trait MatrixOps<T> {
// Required methods
fn matmul(&self, other: &Matrix<T>) -> Result<Matrix<T>, String>;
fn transpose(&self) -> Matrix<T>;
}Expand description
Matrix operations (rank 2 specific)
pub trait MatrixOps<T> {
// Required methods
fn matmul(&self, other: &Matrix<T>) -> Result<Matrix<T>, String>;
fn transpose(&self) -> Matrix<T>;
}Matrix operations (rank 2 specific)