You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: histogrammar/defs.py
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,15 @@ def zero(self):
159
159
raiseNotImplementedError
160
160
161
161
def__add__(self, other):
162
-
"""Add two containers of the same type. The originals are unaffected. """
162
+
"""Add two containers of the same type. The originals are unaffected."""
163
+
raiseNotImplementedError
164
+
165
+
def__mul__(self, factor):
166
+
"""Reweight the contents in all nested aggregators by a scalar factor, as though they had been filled with a different weight. The original is unaffected."""
167
+
raiseNotImplementedError
168
+
169
+
def__rmul__(self, factor):
170
+
"""Reweight the contents in all nested aggregators by a scalar factor, as though they had been filled with a different weight. The original is unaffected."""
0 commit comments