ManagedLinearAlgebraOperations.SymmetricMatrixNorm Method

Definition

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

Overload List

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

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

Return Value

Double
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANSY.

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

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

Return Value

Double
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