(self, x, *args, **params)
| 285 | both the data and mask calls. |
| 286 | """ |
| 287 | def __call__(self, x, *args, **params): |
| 288 | func = getattr(np, self.__name__) |
| 289 | _d = func(tuple([np.asarray(a) for a in x]), *args, **params) |
| 290 | _m = func(tuple([getmaskarray(a) for a in x]), *args, **params) |
| 291 | return masked_array(_d, mask=_m) |
| 292 | |
| 293 | |
| 294 | class _fromnxfunction_args(_fromnxfunction): |
nothing calls this directly
no test coverage detected