Julia Programming Language
Idiomatic way to find extreme and the next (less) extreme unique values
New to Julia
jling
July 1, 2020, 3:18am
3
or your can
e = extrema(a) filter(!in(e), a) |> extrema
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Perf improvement suggestion for simple extrema
Performance
proposal
4
672
February 18, 2020
How to unpack result from extrema function
General Usage
2
617
January 16, 2018
Branching in loop decrease perf by ~x5
Performance
6
804
December 13, 2020
Get shortest/longest string in array
New to Julia
question
24
1906
January 22, 2021
Maximum by element in array
New to Julia
12
28554
April 29, 2019