示例#1
0
 def __or__(self, o):
     d = asDataset(o)
     if self.dtype is bool and d.dtype is bool:
         return _cmps.logical_or(self, d)
     return _maths.bitwise_or(self, d)
示例#2
0
 def __ior__(self, o):
     _maths.bitwise_or(self, o, self)
     return self