def __eq__(self, other): other = MIArray.__value_other(self, other) r = MIArray(ArrayMath.equal(self.array, other)) return r
def __eq__(self, other): if isinstance(other, MIArray): r = MIArray(ArrayMath.equal(self.array, other.array)) else: r = MIArray(ArrayMath.equal(self.array, other)) return r