Julia Programming Language
Performance tips for a function which finds n maximums in a matrix
General Usage
Performance
performance
,
sortperm
,
speed-optimization
,
matrix
JM_Beckers
March 22, 2023, 5:45am
4
Or you adapt this one to get the maxima instead of minima, which is very efficient for small n.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Feature request: generalization of findmax/findmin to n values
Internals
5
2594
September 17, 2022
What is Julia's maxk(Matlab) that returns the indice of top K largest values?
General Usage
sort
,
sortperm
20
11398
May 9, 2023
The quasi-best MaxN function
Performance
12
1334
January 6, 2021
How to find the index of the two largest values in a 1D array
New to Julia
question
8
441
May 25, 2023
Argmax, but n biggest elements
General Usage
arrays
3
1611
January 13, 2022