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 & Design
5
2608
September 17, 2022
Find n smallest values in an n dims array
New to Julia
question
,
sort
,
sortperm
,
arrays
,
cartesianindices
21
2932
May 26, 2023
How to find the index of the two largest values in a 1D array
New to Julia
question
8
488
May 25, 2023
The quasi-best MaxN function
Performance
12
1382
January 6, 2021
Argmax, but n biggest elements
General Usage
arrays
3
1767
January 13, 2022