Matrix.NormFro Method

function NormFro: Double;

Calculates the matrix Frobenius norm.

Returns: Double

Remarks:

Calculate the calling matrix Frobenius norm. The Frobenius norm is defined as the square root of the sum of sums of squared elements of rows. An exception is raised if calling matrix Matrix.Complex property is true.

Examples
var A: Matrix;
    b: double;
begin
    A.SetIt(2,2,false,[1,2,
        2,4]);  // 2x2, not complex matrix
    b := A.NormFro;
end;
See Also: Matrix.NormInf, Matrix.Norm1