abfunc(fillx, filly) must be defined. abfunc(x, filly) = x for all x to enable reduce.
(self, mbfunc, fillx=0, filly=0)
| 995 | """ |
| 996 | |
| 997 | def __init__(self, mbfunc, fillx=0, filly=0): |
| 998 | """ |
| 999 | abfunc(fillx, filly) must be defined. |
| 1000 | |
| 1001 | abfunc(x, filly) = x for all x to enable reduce. |
| 1002 | |
| 1003 | """ |
| 1004 | super().__init__(mbfunc) |
| 1005 | self.fillx = fillx |
| 1006 | self.filly = filly |
| 1007 | ufunc_domain[mbfunc] = None |
| 1008 | ufunc_fills[mbfunc] = (fillx, filly) |
| 1009 | |
| 1010 | def __call__(self, a, b, *args, **kwargs): |
| 1011 | """ |