Tropical algebra overloading: Difference between revisions
m
→{{header|Python}}
Line 79:
def __pow__(self, other):
assert other.x // 1 == other.x and other.x >
return MaxTropical(self.x * other.x)
|