(self, a, *args, **params)
| 6868 | return doc |
| 6869 | |
| 6870 | def __call__(self, a, *args, **params): |
| 6871 | if self.reversed: |
| 6872 | args = list(args) |
| 6873 | a, args[0] = args[0], a |
| 6874 | |
| 6875 | marr = asanyarray(a) |
| 6876 | method_name = self.__name__ |
| 6877 | method = getattr(type(marr), method_name, None) |
| 6878 | if method is None: |
| 6879 | # use the corresponding np function |
| 6880 | method = getattr(np, method_name) |
| 6881 | |
| 6882 | return method(marr, *args, **params) |
| 6883 | |
| 6884 | |
| 6885 | all = _frommethod('all') |
nothing calls this directly
no test coverage detected