Expand description
Contains matmul::MatmulAlgorithm
, an abstraction for algorithms
for computing matrix multiplication, together with various implementations.
Modules§
- strassen
- Contains
strassen::strassen()
, an implementation of Strassen’s algorithm for matrix multiplication.
Structs§
- Strassen
Algorithm unstable-enable
- Availability
Constants§
- STANDARD_
MATMUL unstable-enable
- Availability
Traits§
- Compute
Inner Product unstable-enable
- Trait to allow rings to provide specialized implementations for inner products, i.e.
the sums
sum_i a[i] * b[i]
. - Matmul
Algorithm unstable-enable
- Trait for objects that can compute a matrix multiplications over some ring.
- Strassen
Hint unstable-enable
- Trait to allow rings to customize the parameters with which
StrassenAlgorithm
will compute matrix multiplications.
Functions§
- naive_
matmul unstable-enable
- Computes
dst = lhs * rhs
ifADD_ASSIGN = false
anddst += lhs * rhs
ifADD_ASSIGN = true
, using the standard cubic formula for matrix multiplication.