ManagedLinearAlgebraOperations.TriangularBandMatrixNorm Method

Definition

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

Overload List

TriangularBandMatrixNorm(MatrixNorm, MatrixTriangle, MatrixDiagonal, Int32, Int32, ReadOnlySpan<Complex<Double>>, Int32)

Computes the norm of a triangular band matrix.
C#
public override double TriangularBandMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diag,
	int n,
	int k,
	ReadOnlySpan<Complex<double>> 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.
diag  MatrixDiagonal
Specifies whether or not the matrix is unit triangular.
n  Int32
The number of rows and columns of the matrix.
k  Int32
The number of sub- or super-diagonals of the matrix.
ab  ReadOnlySpan<Complex<Double>>
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

Double
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANGB.

TriangularBandMatrixNorm(MatrixNorm, MatrixTriangle, MatrixDiagonal, Int32, Int32, ReadOnlySpan<Double>, Int32)

Computes the norm of a triangular band matrix.
C#
public override double TriangularBandMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diag,
	int n,
	int k,
	ReadOnlySpan<double> 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.
diag  MatrixDiagonal
Specifies whether or not the matrix is unit triangular.
n  Int32
The number of rows and columns of the matrix.
k  Int32
The number of sub- or super-diagonals of the matrix.
ab  ReadOnlySpan<Double>
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

Double
The norm of the matrix.

Implements

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

Remarks

This method corresponds to the LAPACK routine ?LANGB.

See Also