GenericLinearAlgebraOperations<T>.SymmetricBandMatrixNorm Method

Definition

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

Overload List

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

Computes the norm of a symmetric band matrix.
C#
public override T SymmetricBandMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	int k,
	ReadOnlySpan<T> ab,
	int ldab
)

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.
k  Int32
The number of sub- and super-diagonals of the matrix.
ab  ReadOnlySpan<T>
A span of T that contains the elements of the matrix in band storage format.
ldab  Int32
The leading dimension of the matrix ab.

Return Value

T
The norm of the matrix.

Implements

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

Remarks

This method corresponds to the LAPACK routine ?LANSB.

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

Computes the norm of a symmetric band matrix.
C#
public override T SymmetricBandMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	int n,
	int k,
	ReadOnlySpan<Complex<T>> ab,
	int ldab
)

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.
k  Int32
The number of sub- and super-diagonals of the matrix.
ab  ReadOnlySpan<Complex<T>>
A span of T that contains the elements of the matrix in band storage format.
ldab  Int32
The leading dimension of the matrix ab.

Return Value

T
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANSB.

See Also