Tropical algebra overloading: Difference between revisions
Content added Content deleted
m (ref) |
mNo edit summary |
||
Line 21: | Line 21: | ||
where ⊗ has precedence over ⊕. Demonstrate that 5 ⊗ (8 ⊕ 7) equals 5 ⊗ 8 ⊕ 5 ⊗ 7. |
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 |
;See also |