Julia Programming Language
Get the Vector of a Vector of struct
New to Julia
nilshg
February 8, 2022, 9:13am
2
Are you looking for:
julia> getproperty.(vec, :x) 3-element Vector{Float64}: 1.0 2.0 3.0
?
7 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to simply get the array struct's element array
General Usage
struct
2
298
June 18, 2022
Extract a field from an array of structures
General Usage
7
1761
June 17, 2022
Referring to a vector in a vector of svectors
New to Julia
staticarrays
12
669
August 15, 2022
Unpack array of tuples and structs
General Usage
8
3054
June 11, 2020
Strided array from array of struct
General Usage
7
1592
December 28, 2017