Closed TorokLev closed 1 year ago
The rows
and cols
members on Shape
were chosen to be more clear/concise than list indexing. This also eliminates the possibility of needing to handle exceptions or UB (asserts are generally compiled out in release mode) from an operator[]
. This was an active decision to deviate from NumPy
. Closing this PR as a "not going to incorporate".
With this one can say
for greater compatibility with numpy