I’m trying to index into an object that is a vector of 1d matrices:
I want the third element from every row vector. I want this returned as a column vector. How do I do this?
getindex.(arr, 3) should work or [x[3] for x in arr] or map(x->x[3], arr)
getindex.(arr, 3)
[x[3] for x in arr]
map(x->x[3], arr)