Vector of Matrices

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)

1 Like