Return the maximum of an array or maximum along an axis. `amax` is an alias of `~numpy.max`. See Also -------- max : alias of this function ndarray.max : equivalent method
(a, axis=None, out=None, keepdims=np._NoValue, initial=np._NoValue,
where=np._NoValue)
| 2813 | |
| 2814 | @array_function_dispatch(_max_dispatcher) |
| 2815 | def amax(a, axis=None, out=None, keepdims=np._NoValue, initial=np._NoValue, |
| 2816 | where=np._NoValue): |
| 2817 | """ |
| 2818 | Return the maximum of an array or maximum along an axis. |
| 2819 | |
| 2820 | `amax` is an alias of `~numpy.max`. |
| 2821 | |
| 2822 | See Also |
| 2823 | -------- |
| 2824 | max : alias of this function |
| 2825 | ndarray.max : equivalent method |
| 2826 | """ |
| 2827 | return _wrapreduction(a, np.maximum, 'max', axis, None, out, |
| 2828 | keepdims=keepdims, initial=initial, where=where) |
| 2829 | |
| 2830 | |
| 2831 | def _min_dispatcher(a, axis=None, out=None, keepdims=None, initial=None, |
no test coverage detected