Get the Vector of a Vector of struct

Are you looking for:

julia> getproperty.(vec, :x)
3-element Vector{Float64}:
 1.0
 2.0
 3.0

?

7 Likes