Question: Calculate sum of the square of Matrix diagonal components

How to create procedure "mySumOfMatrixDiagonal(M)" which calculates the sum of the square of diagonal components for any given square matrix

Please Wait...