ManagedLinearAlgebraOperationsOfSingle.SymmetricMatrixNorm Method

Definition

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

Overload List

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

Computes the norm of a symmetric matrix.
C#
public override float SymmetricMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	ReadOnlySpan<Complex<float>> 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<Single>>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

Single
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANSY.

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

Computes the norm of a symmetric matrix.
C#
public override float SymmetricMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	ReadOnlySpan<float> 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<Single>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

Single
The norm of the matrix.

Implements

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

Remarks

This method corresponds to the LAPACK routine ?LANSY.

See Also