abfunc(fillx, filly) must be defined. abfunc(x, filly) = x for all x to enable reduce.
(self, dbfunc, domain, fillx=0, filly=0)
| 1144 | """ |
| 1145 | |
| 1146 | def __init__(self, dbfunc, domain, fillx=0, filly=0): |
| 1147 | """abfunc(fillx, filly) must be defined. |
| 1148 | abfunc(x, filly) = x for all x to enable reduce. |
| 1149 | """ |
| 1150 | super().__init__(dbfunc) |
| 1151 | self.domain = domain |
| 1152 | self.fillx = fillx |
| 1153 | self.filly = filly |
| 1154 | ufunc_domain[dbfunc] = domain |
| 1155 | ufunc_fills[dbfunc] = (fillx, filly) |
| 1156 | |
| 1157 | def __call__(self, a, b, *args, **kwargs): |
| 1158 | "Execute the call behavior." |