Linear Algebra Operations Extensions.Hermitian Matrix Norm Method
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Hermitian | Computes the norm of a Hermitian matrix. |
Hermitian | Computes the norm of a Hermitian matrix. |
HermitianMatrixNorm<T>(ILinearAlgebraOperations<T>, MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan2D<T>)
Computes the norm of a Hermitian matrix.
public static T HermitianMatrixNorm<T>(
this ILinearAlgebraOperations<T> operations,
MatrixNorm norm,
MatrixTriangle storedTriangle,
int n,
ReadOnlySpan2D<T> a
)
Parameters
- operations ILinearAlgebraOperations<T>
- The object that performs the operation.
- norm MatrixNorm
- A MatrixNorm that specifies the type of norm to compute.
- storedTriangle MatrixTriangle
- A MatrixTriangle value that specifies whether the matrix elements are stored in the upper or lower triangle.
- n Int32
- The number of rows and columns of the matrix.
- a ReadOnlySpan2D<T>
- A T array that contains the elements of the matrix.
Type Parameters
- T
Return Value
TThe norm of the matrix.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
For real element types, this method is equivalent to
SymmetricMatrixNorm<T>(ILinearAlgebraOperations<T>, MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan2D<T>).
For complex element types, this method corresponds to
the LAPACK routine ?LANHE.
HermitianMatrixNorm<T, TStorage2D>(ILinearAlgebraOperations<T>, MatrixNorm, MatrixTriangle, Int32, TStorage2D)
Computes the norm of a Hermitian matrix.
public static T HermitianMatrixNorm<T, TStorage2D>(
this ILinearAlgebraOperations<T> operations,
MatrixNorm norm,
MatrixTriangle storedTriangle,
int n,
TStorage2D a
)
where TStorage2D : Object, IStorage2D<T>
Parameters
- operations ILinearAlgebraOperations<T>
- The linear algebra operations instance used to perform the calculation.
- norm MatrixNorm
- A MatrixNorm that specifies the type of norm to compute.
- storedTriangle MatrixTriangle
- A MatrixTriangle value that specifies whether the matrix elements are stored in the upper or lower triangle.
- n Int32
- The number of rows and columns of the matrix.
- a TStorage2D
- A T array that contains the elements of the matrix.
Type Parameters
- T
- TStorage2D
Return Value
TThe norm of the matrix.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
For real element types, this method is equivalent to
SymmetricMatrixNorm<T, TStorage2D>(ILinearAlgebraOperations<T>, MatrixNorm, MatrixTriangle, Int32, TStorage2D).
For complex element types, this method corresponds to
the LAPACK routine ?LANHE.