minimum!(r, A)

Compute the minimum value of A over the singleton dimensions of r, and write results to r.


julia> A = [3, 1, 4, 2];
julia> r = [0];
julia> minimum!(r, A)
1-element Array{Int64,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.

*Required Field

Checking you are not a robot: