+ 2
Matrix Rotation - how to improve the code
What can I improve with this code: https://code.sololearn.com/cuJPKz425K5j/#py Open for any suggestions :)
2 Réponses
+ 2
Very good Job. With the Numpy Module you can manipulate multidimensional Arrays more easy. But I think ist's always good to find an own Solution to understand the Concept behind.
In this Code I used Numpy to rotate a Matrix:
https://code.sololearn.com/cc6cM7kQqQrM/?ref=app
0
Thanks for comment. It was my intention not to use numpy to try handle the problem. But I think i didn't get the right way to avoid the aliasing in lmatrix, rmatrix variables.
However code works :)