You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtx Class > TMtx Methods > TMtx.NormFro Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtx.NormFro Method

Calculates the matrix Frobenius norm.

Syntax
C#
Visual Basic
public double NormFro();

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 TMtxVec.ComplexComplexproperty is true.

var A: TMtx; b: double; begin CreateIt(A); try A.SetIt(2,2,false,[1,2, 2,4]); // 2x2, not complex matrix b := A.NormFro; finally FreeIt(A); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!