You can broadcast getindex.(A,1) which gets index 1 for each element of the array.
4 Likes
You can broadcast getindex.(A,1) which gets index 1 for each element of the array.