minimum!
minimum!(r, A)
Compute the minimum value of A
over the singleton dimensions of r
, and write results to r
.
Examples
julia> A = [3, 1, 4, 2];
julia> r = [0];
julia> minimum!(r, A)
1-element Array{Int64,1}:
1
In this example, the minimum!
function computes the minimum value of array A
and writes the result to array r
. The resulting minimum value, 1
, is stored in r
.
See Also
cummax, eigmax, findmax, hist, hist!, hist2d, hist2d!, histrange, indmax, maxabs, maxabs!, maximum!, mean, mean!, median, median!, minabs, minabs!, minimum!, minmax, quantile!, realmax, std, stdm,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.