Calculates the Frobenius norm.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static double FrobeniusNorm( DoubleMatrix A ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FrobeniusNorm ( _ A As DoubleMatrix _ ) As Double |
| Visual C++ |
|---|
public: static double FrobeniusNorm( DoubleMatrix^ A ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
Return Value
Frobenius norm.
Remarks
The Frobenius norm of A = (aij) is just the square
root of the sum of all aij squared, which is also equal to the
square root of the trace of A*A (A* = conjugate transpose of A).