Closed christopherzimmerman closed 4 years ago
Right now, there is no way to do the following index:
m = Matrix.new [[1, 2, 3], [4, 5, 6], [7, 8, 9]] m[[0, 1], 1...3] # should return a matrix # [[2.0, 3.0] # [5.0, 6.0]]
This should be a COPY, not a view, since it can be non-contiguous.
Right now, there is no way to do the following index:
This should be a COPY, not a view, since it can be non-contiguous.