-
Notifications
You must be signed in to change notification settings - Fork 733
feat: projected minima and maxima #11938
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
base: master
Are you sure you want to change the base?
Conversation
|
!radar |
|
Benchmark results for 95b0a13 against ff87bcb are in! @datokrat Warnings (2)These warnings may indicate that the benchmark results are not directly comparable, for example due to changes in the runner configuration or hardware.
Large changes (5🟥)
Medium changes (1🟥)
Small changes (3✅, 11🟥)
|
|
Reference manual CI status:
|
|
Mathlib CI status (docs):
|
|
I was not able to reproduce the two major runtime changes in grind tests locally using multiple alternating iterations and will run radar again to see whether it could be a fluke. |
|
!radar |
|
Benchmark results for ec5c1a4 against ff87bcb are in! @datokrat Warnings (2)These warnings may indicate that the benchmark results are not directly comparable, for example due to changes in the runner configuration or hardware.
Large changes (5🟥)
Medium changes (1🟥)
Small changes (3✅, 12🟥)
|
|
!radar |
|
Benchmark results for 11b026e against abed967 are in! @datokrat Large changes (5🟥)
Small changes (1✅, 8🟥)
|
|
!radar |
|
Benchmark results for f39beb6 against abed967 are in! @datokrat Large changes (5🟥)
Small changes (1✅, 8🟥)
|
|
!radar |
|
Benchmark results for 2616136 against abed967 are in! @datokrat Large changes (5🟥)
Small changes (1✅, 8🟥)
|
|
!radar |
|
Benchmark results for 32c4071 against abed967 are in! @datokrat Large changes (4🟥)
Small changes (1✅, 9🟥)
|
|
!radar |
|
Benchmark results for b79ecbe against abed967 are in! @datokrat Large changes (5🟥)
Small changes (1✅, 9🟥)
|
|
!radar |
|
Benchmark results for 28de00f against 86da5ae are in! @datokrat Large changes (3🟥)
Small changes (1✅, 12🟥)
|
This PR introduces projected minima and maxima, also known as "argmin/argmax", for lists under the names
List.minOnandList.maxOn. It also introducesList.minIdxOnandList.maxIdxOn, which return the index of the minimal or maximal element. Moreover, there are variants with?suffix that return anOption.