basically, given these four operations:
# in v1.7 beta
julia> a = [1,3,2];
julia> findmax(a) #1
(3, 2)
julia> findmax(inv, a) #2
(1.0, 1)
julia> argmax(a) #3
2
julia> argmax(inv, a) #4
1
we want to be able to get these pieces directly:
- the biggest value in the data (
, #1) - the index of 1. (
, #1 or #3) - the biggest evaluated value in data after evaluation. (
, #2 ) - the index of 3. (
, #2) - the original value of 3. (
, #4)
so I’m fine with this I guess.