LinearAlgebraOperations<T>.HermitianMatrixNorm Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

HermitianMatrixNorm(MatrixNorm, MatrixTriangle, Int32, Array2D<T>)

Computes the norm of a Hermitian matrix.
C#
public T HermitianMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	Array2D<T> a
)

Parameters

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  Array2D<T>
A T array that contains the elements of the matrix.

Return Value

T
The norm of the matrix.

Remarks

For real element types, this method is equivalent to SymmetricMatrixNorm(MatrixNorm, MatrixTriangle, Int32, Array2D<T>). For complex element types, this method corresponds to the LAPACK routine ?LANHE.

HermitianMatrixNorm(MatrixNorm, MatrixTriangle, Int32, Array2D<Complex<T>>)

Computes the norm of a Hermitian matrix.
C#
public T HermitianMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	Array2D<Complex<T>> a
)

Parameters

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  Array2D<Complex<T>>
A complex array that contains the elements of the matrix.

Return Value

T
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANHE.

HermitianMatrixNorm(MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan2D<Complex<T>>)

Computes the norm of a Hermitian matrix.
C#
public T HermitianMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	ReadOnlySpan2D<Complex<T>> a
)

Parameters

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<Complex<T>>
A complex array that contains the elements of the matrix.

Return Value

T
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANHE.

HermitianMatrixNorm(MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan<T>, Int32)

Computes the norm of a Hermitian matrix.
C#
public T HermitianMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	ReadOnlySpan<T> a,
	int lda
)

Parameters

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  ReadOnlySpan<T>
A T array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

T
The norm of the matrix.

Implements

ILinearAlgebraOperations<T>.HermitianMatrixNorm(MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan<T>, Int32)

Remarks

For real element types, this method is equivalent to SymmetricMatrixNorm(MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan<T>, Int32). For complex element types, this method corresponds to the LAPACK routine ?LANHE.

HermitianMatrixNorm(MatrixNorm, MatrixTriangle, Int32, ReadOnlySpan<Complex<T>>, Int32)

Computes the norm of a Hermitian matrix.
C#
public abstract T HermitianMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	ReadOnlySpan<Complex<T>> a,
	int lda
)

Parameters

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  ReadOnlySpan<Complex<T>>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

T
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANHE.

See Also