Smallest element in array of fi
objects
returns
the smallest elements along different dimensions of x
= min(a
)fi
array a
.
If a
is a vector, min(a)
returns
the smallest element in a
.
If a
is a matrix, min(a)
treats
the columns of a
as vectors, returning a row vector
containing the minimum element from each column.
If a
is a multidimensional array, min
operates
along the first nonsingleton dimension and returns an array of minimum
values.
When a
or b
is complex,
the min
function returns the element with the smallest
magnitude. If two magnitudes are equal, then min
returns
the first value. This behavior differs from how the builtin min
function resolves ties between complex
numbers.