Tropical algebra overloading: Difference between revisions

m
no edit summary
m (ref)
mNo edit summary
Line 21:
 
where ⊗ has precedence over ⊕. Demonstrate that 5 ⊗ (8 ⊕ 7) equals 5 ⊗ 8 ⊕ 5 ⊗ 7.
 
* If the language used does not support operator overloading, you may use ordinary function names such as tropicalAdd(x, y) and tropicalMul(x, y).
 
 
;See also
4,108

edits