If I input a vector and wanted to flip the elements' order, I'd write
(reverse [1 2 3])
Now, how would I generalize this idea to be able to input nested vectors and flip the order of elements? Given a matrix A the function should reverse the elements in each column.
[[1 0 0] [0 2 0] [0 0 3]]would transform to[[0 0 3] [0 0 2] [1 0 0]]- sunspots[[0 0 3] [0 2 0] [1 0 0]]? Because I'm not understanding why the 2 would move inside its vector but not anything else. - Chuckreverse. - A. Webb