Calculates the square of the Frobenius norm of the difference between two matrices.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static double FrobNormDiffSqr( DoubleMatrix A, DoubleMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FrobNormDiffSqr ( _ A As DoubleMatrix, _ B As DoubleMatrix _ ) As Double |
| Visual C++ |
|---|
public: static double FrobNormDiffSqr( DoubleMatrix^ A, DoubleMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
- B
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
Return Value
The square of the Frobenius norm of the difference between the two matrices.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown when A, B are of different sizes. |