def __isub__(self, other): if isinstance(other,Measurement): self.x,self.variance \ = err1d.sub_inplace(self.x,self.variance,other.x,other.variance) else: self.x-=other return self
def __isub__(self, other): if isinstance(other, Uncertainty): self.x,self.variance \ = err1d.sub_inplace(self.x,self.variance,other.x,other.variance) else: self.x -= other return self
def __isub__(self, other): if isinstance(other,Uncertainty): self.x,self.variance \ = err1d.sub_inplace(self.x,self.variance,other.x,other.variance) else: self.x-=other return self