Im trying to slice a matrix so that I can end up with to arrays.
So given the following matrix [[1,2],[3,4],[102,5]] is there a way to slice it so that I end up with [1,3,102] and [2,4,5] ?
Maybe its not a slice but something else?
Thanks
Im trying to slice a matrix so that I can end up with to
Share
Try using the
Array.reduce(...)method, since functional programming is cool!