GenericLinearAlgebraOperations<T>.SymmetricMatrixNorm Method

Definition

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

Overload List

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

Computes the norm of a symmetric matrix.
C#
public override T SymmetricMatrixNorm(
	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 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.

Implements

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

Remarks

This method corresponds to the LAPACK routine ?LANSY.

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

Computes the norm of a symmetric matrix.
C#
public override T SymmetricMatrixNorm(
	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 ?LANSY.

See Also