ManagedLinearAlgebraOperations.TriangularMatrixNorm Method

Definition

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

Overload List

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

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

Return Value

Double
The norm of the matrix.

Remarks

This method corresponds to the LAPACK routine ?LANTR.

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

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

Return Value

Double
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