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 domain: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 kind: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
Sponsor Member

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

@StefanKarpinski
Copy link
Sponsor Member

Sounds good to me.

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

Successfully merging this pull request may close these issues.

None yet

5 participants