(self, x, *args, **params)
| 267 | both the data and mask calls. |
| 268 | """ |
| 269 | def __call__(self, x, *args, **params): |
| 270 | func = getattr(np, self.__name__) |
| 271 | if isinstance(x, ndarray): |
| 272 | _d = func(x.__array__(), *args, **params) |
| 273 | _m = func(getmaskarray(x), *args, **params) |
| 274 | return masked_array(_d, mask=_m) |
| 275 | else: |
| 276 | _d = func(np.asarray(x), *args, **params) |
| 277 | _m = func(getmaskarray(x), *args, **params) |
| 278 | return masked_array(_d, mask=_m) |
| 279 | |
| 280 | |
| 281 | class _fromnxfunction_seq(_fromnxfunction): |
nothing calls this directly
no test coverage detected