ILinearAlgebraOperations<T>.TriangularMatrixNorm Method

Computes the norm of a triangular matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
T TriangularMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diag,
	int m,
	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 is upper or lower triangular.
diag  MatrixDiagonal
A MatrixDiagonal value that indicates whether the diagonal elements are all equal to one.
m  Int32
The number of rows of the matrix.
n  Int32
The number of columns of the matrix.
a  ReadOnlySpan<T>
A span of T 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 ?LANTR.

See Also