Julia Programming Language
Find in an array of custom structs if we have an element with a specific field value or not
General Usage
struct
Seif_Shebl
February 22, 2022, 12:51pm
5
Nice and fast, here is a similar one too:
any(s.k==3 for s in A)
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Can this be done using a struct?
General Usage
2
460
July 26, 2019
Scalar contained by vector of StaticArrays
New to Julia
5
323
February 18, 2021
Efficient design for library of objects
New to Julia
performance
,
design
2
716
July 29, 2019
How to find index in String Array
General Usage
3
5920
September 15, 2017
Finding Position of Element in an Array
General Usage
question
46
106638
October 9, 2019