Module algebra

Module algebra 

Source
Expand description

Tropical algebra markers, HasAlgebra, and Semiring implementations.

Each zero-sized struct identifies a tropical algebra for use with semiring-family execution traits such as TensorSemiringCore<Alg>. The orphan rule is satisfied because the algebra markers are defined in this crate.

Structs§

MaxMulAlgebra
Algebra marker for the max-times tropical semiring (⊕ = max, ⊗ = ×).
MaxPlusAlgebra
Algebra marker for the max-plus tropical semiring (⊕ = max, ⊗ = +).
MinPlusAlgebra
Algebra marker for the min-plus tropical semiring (⊕ = min, ⊗ = +).