min(array [, arg] [, /keepdims])
Returns one or more minimum values from the numerical
array. For real data types, the minimum is the value
closest to minus infinity. For complex data types, the minimum is the
value with a magnitude closest to zero. Generally,
indicates which dimensions are included in searching for a minimum.
There must not be any duplicates in the elements of
min(x, 0) returns the minimum value over all values
of the first dimension, and
min(x, [0,1]) returns the minimum
over all values of the first two dimensions.
By default, the result has a number of dimensions equal to the number of
array minus the number of elements of
/keepdims is specified, then the dimensions indicated by
arg are not omitted but set to 1.
arg is a numerical array with the same number of
array, then its elements indicate the class
each corresponding element of
array belongs to and the
minimum value in each class is returned, with the minimum of class 0 or
the most negative class in the first element of the result.
The last found maximum value is stored in
!lastmax and its index
!lastmaxloc, and the corresponding numbers for the minima in
!lastminloc. For complex arrays, the values
!lastmin are the magnitudes
of the corresponding extreme values.
x = [[[1,7]],[[3,5]]] then
min(x) = 7 min(x,0) =
[7,5] min(x,1) = [3,7].
See also: max, maxloc, minloc, !lastmax, !lastmaxloc, !lastmin, !lastminloc, local_max, local_min, local_maxloc, local_minloc, find_maxloc