3 ms·
The matrix class is now officially deprecated, FYI, so just use array everywhere. I guess the generic way to write that would be A[bottom:top+1][::-1]. But the
by tgb 6y ago
The matrix class is now officially deprecated, FYI, so just use array everywhere.
I guess the generic way to write that would be A[bottom:top+1][::-1]. But the blame there goes to Python, not numpy, since the same is true of lists.