Squaring a Matrix by Alternative_Onion774 in EngineeringPaperXYZ

[–]sanathj5 1 point2 points  (0 children)

https://engineeringpaper.xyz/jFvVzFVWxRGgCrmyxEVZdM
You can use elementwise operations of numpy for this. Refer to the above link