MCPcopy Create free account
hub / github.com/numpy/numpy / amin

Function amin

numpy/core/fromnumeric.py:2958–2971  ·  view source on GitHub ↗

Return the minimum of an array or minimum along an axis. `amin` is an alias of `~numpy.min`. See Also -------- min : alias of this function ndarray.min : equivalent method

(a, axis=None, out=None, keepdims=np._NoValue, initial=np._NoValue,
         where=np._NoValue)

Source from the content-addressed store, hash-verified

2956
2957@array_function_dispatch(_min_dispatcher)
2958def amin(a, axis=None, out=None, keepdims=np._NoValue, initial=np._NoValue,
2959 where=np._NoValue):
2960 """
2961 Return the minimum of an array or minimum along an axis.
2962
2963 `amin` is an alias of `~numpy.min`.
2964
2965 See Also
2966 --------
2967 min : alias of this function
2968 ndarray.min : equivalent method
2969 """
2970 return _wrapreduction(a, np.minimum, 'min', axis, None, out,
2971 keepdims=keepdims, initial=initial, where=where)
2972
2973
2974def _prod_dispatcher(a, axis=None, dtype=None, out=None, keepdims=None,

Callers

nothing calls this directly

Calls 1

_wrapreductionFunction · 0.85

Tested by

no test coverage detected