Double NormFro
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 Dew.Math.TMtxVec.Complex property is true.
Examples
TMtx A;
double b;
MtxVec.CreateIt(out A);
try
{
A.SetIt(2,2,false,[1,2,
2,4]); // 2x2, !complex matrix
b = A.NormFro;
}
finally
{
MtxVec.FreeIt(ref A);
}
See Also: TMtx.NormInf, TMtx.Norm1