Files
Nim/lib/pure/collections
Miran bf96d6d316 Idxmin & idxmax, continuation (#13208)
* Add idxmin() which returns the index of the minimum value

* Add idxmax() which returns the index of the maximum value

* Add tests for idxmin()

* Add tests for idxmax()

* Remove initialization of result = 0

* Adds overloading for arrays (no enums indexed arrays yet)

* Add support for enum index arrays

* Fix tests with enum

* Fix tests for idxmax

* Change names of the procedures to minIndex and maxIndex

* address Araq's comments:

- remove 'array' versions
- add .since pragma
- return 'int' instead of 'Natural'
- add changelog entry

Co-authored-by: Federico A. Corazza <20555025+Imperator26@users.noreply.github.com>
2020-01-20 16:57:34 +01:00
..
2016-03-31 16:49:56 +02:00
2019-09-21 06:43:37 +02:00
2019-12-21 21:01:34 +01:00
2019-10-09 14:48:42 +02:00
2019-11-12 15:05:36 +01:00
2019-09-21 06:43:37 +02:00
2019-09-21 06:43:37 +02:00
2019-09-21 06:43:37 +02:00