Exemplo n.º 1
0
 def __iand__(self, o):
     _maths.bitwise_and(self, o, self)
     return self
Exemplo n.º 2
0
 def __and__(self, o):
     d = asDataset(o)
     if self.dtype is bool and d.dtype is bool:
         return _cmps.logical_and(self, d)
     return _maths.bitwise_and(self, d)