Julia Programming Language
Is there an efficient and elegant way to keep the top 2 values from an iterator
General Usage
rocco_sprmnt21
February 26, 2022, 2:16pm
2
here
some related proposals.
show post in topic
Related topics
Topic
Replies
Views
Activity
How to obtain x instead of f(x) from maximum/minimum(f, itr)
General Usage
11
123
September 16, 2024
How to return k largest elements of a vector in descending order?
New to Julia
sort
,
maxima
10
1045
November 1, 2022
`collect` iterator in reverse
General Usage
11
828
July 7, 2021
What is Julia's maxk(Matlab) that returns the indice of top K largest values?
General Usage
sort
,
sortperm
20
11510
May 9, 2023
Interacting with current and next iterator
General Usage
iterators
2
364
August 4, 2023