Matrix.ExtractLowerTriangle<T>(HermitianMatrix<T>, MatrixDiagonal) Method

Constructs a TriangularMatrix<T> whose elements are contained in the lower triangular portion of a HermitianMatrix<T>.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static TriangularMatrix<T> ExtractLowerTriangle<T>(
	HermitianMatrix<T> matrix,
	MatrixDiagonal unitDiagonal
)

Parameters

matrix  HermitianMatrix<T>
A HermitianMatrix<T>.
unitDiagonal  MatrixDiagonal
If true, the matrix is unit triangular. Only the elements below the diagonal in matrix are considered. If false, the diagonal elements of matrix are taken as the diagonal elements of the triangular matrix.

Type Parameters

T

Return Value

TriangularMatrix<T>
A TriangularMatrix<T> whose elements are contained in the lower triangular portion of matrix.

Exceptions

ArgumentNullExceptionmatrix is null.

See Also