Hermitian Matrix<T>.Extract Upper Triangle Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Extract | Constructs a TriangularMatrix<T> whose elements are contained in the lower triangular portion of a HermitianMatrix<T>. |
Extract | Constructs an upper TriangularMatrix<T> whose elements are contained in the upper triangular portion of a HermitianMatrix<T>. |
ExtractUpperTriangle
Constructs a TriangularMatrix<T> whose
elements are contained in the lower triangular portion
of a HermitianMatrix<T>.
public TriangularMatrix<T> ExtractUpperTriangle()
Return Value
TriangularMatrix<T>A TriangularMatrix<T> whose elements are contained in the lower triangular portion of the matrix.
ExtractUpperTriangle(MatrixDiagonal)
Constructs an upper TriangularMatrix<T> whose
elements are contained in the upper triangular portion
of a HermitianMatrix<T>.
public TriangularMatrix<T> ExtractUpperTriangle(
MatrixDiagonal unitDiagonal
)
Parameters
- unitDiagonal MatrixDiagonal
- If true, the matrix is unit triangular. Only the elements below the diagonal in the matrix are considered. If false, the diagonal elements of the matrix are taken as the diagonal elements of the triangular matrix.
Return Value
TriangularMatrix<T>A TriangularMatrix<T> whose elements are contained in the lower triangular portion of the matrix.