コード例 #1
0
ファイル: jycore.py プロジェクト: mtwharmby/daq-eclipse
 def __xor__(self, o):
     d = asDataset(o)
     if self.dtype is bool and d.dtype is bool:
         return _cmps.logical_xor(self, d)
     return _maths.bitwise_xor(self, d)
コード例 #2
0
ファイル: jycore.py プロジェクト: mtwharmby/daq-eclipse
 def __ixor__(self, o):
     _maths.bitwise_xor(self, o, self)
     return self