예제 #1
0
 def __idiv__(self, other):
     divide(self.array, other, self.array)
     return self
예제 #2
0
 def __rdiv__(self, other):
     return self._rc(divide(asarray(other), self.array))
예제 #3
0
 def __rdivmod__(self, other):
     return (self._rc(divide(other, self.array)),
             self._rc(remainder(other, self.array)))
예제 #4
0
 def __div__(self, other):
     return self._rc(divide(self.array, asarray(other)))
예제 #5
0
 def __divmod__(self, other):
     return (self._rc(divide(self.array,
                             other)), self._rc(remainder(self.array,
                                                         other)))