Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create a gufunc form of argmin and argmax #12516
referenced this issue
Dec 9, 2018
In principle, I'm not sure we really need access to the comparison function; the "default" way would be to write loops for each dtype... Plus one could let the ufunc setup function put
Separately, I think elsewhere you suggested instead to keep track of the index in the reduction; that does seem even more complicated...