HermitianMatrix<T>.ExtractUpperTriangle Method
DefinitionPermalink
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 ListPermalink
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>. |
ExtractUpperTrianglePermalink
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)Permalink
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.