pub trait Matmul<T> {
    type Output;
    fn matmul(&self, other: &T) -> Self::Output;
}
Expand description

A trait for matrix multiplication.

Associated Types

Required methods

┌───────┐        ┌─────┐  ┌─────┐
│ 1 1 1 │        │ 1 2 │  │ 4 5 │
│ 2 1 2 │.matmul(│ 2 1 │)=│ 6 9 │
└───────┘        │ 1 2 │  └─────┘
                 └─────┘

Implementors