def __rdivmod__(self, other): return elementwise._divmod(other, self)
def __divmod__(self, other): if self._should_use_rop(other): return other.__rdivmod__(self) else: return elementwise._divmod(self, other)