ManagedLinearAlgebraOperationsOfSingle.TriangularMatrixNorm Method

Definition

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

Overload List

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

Computes the norm of a triangular matrix.
C#
public override float TriangularMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diag,
	int m,
	int n,
	ReadOnlySpan<Complex<float>> 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<Single>>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

Single
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANTR.

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

Computes the norm of a triangular matrix.
C#
public override float TriangularMatrixNorm(
	MatrixNorm norm,
	MatrixTriangle storedTriangle,
	MatrixDiagonal diag,
	int m,
	int n,
	ReadOnlySpan<float> 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<Single>
A complex array that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Return Value

Single
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.

See Also