Expand description
Compatibility constraints between matrix shapes, e.g., for addition or multiplication.
Structs§
- Shape
Constraint - A type used in
where
clauses for enforcing constraints.
Traits§
- AreMultipliable
- Constrains
C1
andR2
to be equivalent. - DimEq
- Constrains
D1
andD2
to be equivalent. - Same
Dimension - Constrains D1 and D2 to be equivalent, where they both designate dimensions of algebraic entities (e.g. square matrices).
- Same
Number OfColumns - Constrains
D1
andD2
to be equivalent. They are both assumed to be the number of columns of a matrix. - Same
Number OfRows - Constrains
D1
andD2
to be equivalent. They are both assumed to be the number of rows of a matrix.