diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html
index e7b1feea..590fa7c8 100644
--- a/docs/pyerrors/correlators.html
+++ b/docs/pyerrors/correlators.html
@@ -1073,6 +1073,11 @@
else:
newcontent.append(self.content[t] + y)
return Corr(newcontent, prange=self.prange)
+ elif isinstance(y, np.ndarray):
+ if y.shape == (self.T,):
+ return Corr(list((np.array(self.content).T + y).T))
+ else:
+ raise ValueError("operands could not be broadcast together")
else:
raise TypeError("Corr + wrong type")
@@ -1096,6 +1101,11 @@
else:
newcontent.append(self.content[t] * y)
return Corr(newcontent, prange=self.prange)
+ elif isinstance(y, np.ndarray):
+ if y.shape == (self.T,):
+ return Corr(list((np.array(self.content).T * y).T))
+ else:
+ raise ValueError("operands could not be broadcast together")
else:
raise TypeError("Corr * wrong type")
@@ -1145,6 +1155,11 @@
else:
newcontent.append(self.content[t] / y)
return Corr(newcontent, prange=self.prange)
+ elif isinstance(y, np.ndarray):
+ if y.shape == (self.T,):
+ return Corr(list((np.array(self.content).T / y).T))
+ else:
+ raise ValueError("operands could not be broadcast together")
else:
raise TypeError('Corr / wrong type')
@@ -2163,6 +2178,11 @@
else:
newcontent.append(self.content[t] + y)
return Corr(newcontent, prange=self.prange)
+ elif isinstance(y, np.ndarray):
+ if y.shape == (self.T,):
+ return Corr(list((np.array(self.content).T + y).T))
+ else:
+ raise ValueError("operands could not be broadcast together")
else:
raise TypeError("Corr + wrong type")
@@ -2186,6 +2206,11 @@
else:
newcontent.append(self.content[t] * y)
return Corr(newcontent, prange=self.prange)
+ elif isinstance(y, np.ndarray):
+ if y.shape == (self.T,):
+ return Corr(list((np.array(self.content).T * y).T))
+ else:
+ raise ValueError("operands could not be broadcast together")
else:
raise TypeError("Corr * wrong type")
@@ -2235,6 +2260,11 @@
else:
newcontent.append(self.content[t] / y)
return Corr(newcontent, prange=self.prange)
+ elif isinstance(y, np.ndarray):
+ if y.shape == (self.T,):
+ return Corr(list((np.array(self.content).T / y).T))
+ else:
+ raise ValueError("operands could not be broadcast together")
else:
raise TypeError('Corr / wrong type')