Skip to content

Commit

Permalink
Add documentation x-refs between argmax, argmin, findmin, findmax (Ju…
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed Jun 24, 2021
1 parent ba5fffc commit e722e4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions base/reduce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,8 @@ Values are compared with `isless`.
!!! compat "Julia 1.7"
This method requires Julia 1.7 or later.
See also [`argmin`](@ref), [`findmax`](@ref).
# Examples
```jldoctest
julia> argmax(abs, -10:5)
Expand Down Expand Up @@ -950,6 +952,8 @@ If there are multiple minimal values for `f(x)` then the first one will be found
!!! compat "Julia 1.7"
This method requires Julia 1.7 or later.
See also [`argmax`](@ref), [`findmin`](@ref).
# Examples
```jldoctest
julia> argmin(sign, -10:5)
Expand Down

0 comments on commit e722e4d

Please sign in to comment.