findmin(A, dims) -> (minval, index)

For an array input, returns the value and index of the minimum over the given dimensions.


julia> findmin([3,0,11])
julia> findmin([3,11])

See Also

find, findfirst, findin, findlast, findmin, findn, findnext, findnz, findprev, rsearch, rsearchindex, searchsorted, searchsortedfirst, searchsortedlast, sort, sort!, sortcols, sortperm, sortperm!,

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: