Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename indmin and indmax to argmin and argmax #25654

Merged
merged 2 commits into from
Jan 22, 2018
Merged

Rename indmin and indmax to argmin and argmax #25654

merged 2 commits into from
Jan 22, 2018

Conversation

nalimilan
Copy link
Member

argmin and argmax match the mathematical names as well as those used by Numpy. On the contrary, there does not appear to be any precedent for indmin and indmax, and they do not follow any pattern in Julia either.

@nalimilan nalimilan added the search & find The find* family of functions label Jan 20, 2018
@nalimilan nalimilan force-pushed the nl/argminmax branch 2 times, most recently from 75e7804 to 3517f4a Compare January 20, 2018 16:45
argmin and argmax match the mathematical names as well as those used by Numpy.
On the contrary, there does not appear to be any precedent for indmin and indmax,
and they do not follow any pattern in Julia either.
@ararslan ararslan added the deprecation This change introduces or involves a deprecation label Jan 21, 2018
@kmsquire
Copy link
Member

I proposed this a long time ago (and it was shot down at the time—on a phone, so it’s gard to find a link to the discussion). Very much approve!

@kmsquire
Copy link
Member

(Argh... I need to respond on a real keyboard!)

@JeffBezanson
Copy link
Member

@StefanKarpinski any opinion? I think we should do this.

@StefanKarpinski
Copy link
Member

Sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation This change introduces or involves a deprecation search & find The find* family of functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants