MCPcopy
hub / github.com/numpy/numpy / amax

Function amax

numpy/_core/fromnumeric.py:3166–3179  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

3164
3165@array_function_dispatch(_max_dispatcher)
3166def amax(a, axis=None, out=None, keepdims=np._NoValue, initial=np._NoValue,
3167 where=np._NoValue):
3168 """
3169 Return the maximum of an array or maximum along an axis.
3170
3171 `amax` is an alias of `~numpy.max`.
3172
3173 See Also
3174 --------
3175 max : alias of this function
3176 ndarray.max : equivalent method
3177 """
3178 return _wrapreduction(a, np.maximum, 'max', axis, None, out,
3179 keepdims=keepdims, initial=initial, where=where)
3180
3181
3182def _min_dispatcher(a, axis=None, out=None, keepdims=None, initial=None,

Callers 1

pinvFunction · 0.90

Calls 1

_wrapreductionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…