up previous next
FrobeniusNormSq    --    Frobenius norm of a matrix


Syntax
FrobeniusNormSq(M: MAT): RINGELEM

Description
This function computes the square of the Frobenius norm of M; namely, the sum of the squares of the matrix entries.

Example
/**/  M := mat([[1,2],[3,4]]);
/**/  FrobeniusNormSq(M);
30

See Also