GenericLinearAlgebraOperations<T>.TriangularMatrixNorm Method

Definition

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

Overload List

TriangularMatrixNorm(MatrixNorm, MatrixTriangle, MatrixDiagonal, Int32, Int32, ReadOnlySpan<T>, Int32)

Computes the norm of a triangular matrix.
C#
public override 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 complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

T
The norm of the matrix.

Implements

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

Remarks

This method corresponds to the LAPACK routine ?LANTR.

TriangularMatrixNorm(MatrixNorm, MatrixTriangle, MatrixDiagonal, Int32, Int32, ReadOnlySpan<Complex<T>>, Int32)

Computes the norm of a triangular matrix.
C#
public override T TriangularMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diag,
	int m,
	int n,
	ReadOnlySpan<Complex<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<Complex<T>>
A complex array 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