You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Matrix.NormFro Method
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.NormFro Method

Calculates the matrix Frobenius norm.

Pascal
function NormFro: double; overload;

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 Complex property is true.

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