Matrix<T>.To Hermitian Matrix Method
Returns this matrix as a HermitianMatrix<T>, copying first when necessary.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.6.0
C#
A HermitianMatrix<T>. If this matrix is already Hermitian, the same instance is returned; otherwise the result has independent dense storage.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.6.0
public HermitianMatrix<T> ToHermitianMatrix(
MatrixTriangle storedTriangle = MatrixTriangle.Upper
)Parameters
- storedTriangle MatrixTriangle (Optional)
- A MatrixTriangle value that indicates whether the elements of the Hermitian matrix are stored in the upper or lower triangular portion of the matrix.
Return Value
HermitianMatrix<T>A HermitianMatrix<T>. If this matrix is already Hermitian, the same instance is returned; otherwise the result has independent dense storage.