Matrix<T>.As Hermitian Matrix Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
AsHermitian | Returns a matrix as a HermitianMatrix<T>, or null if the matrix is not hermitian. |
AsHermitian | Returns a HermitianMatrix<T> extracted from a part of the matrix. |
AsHermitianMatrix
Returns a matrix as a HermitianMatrix<T>,
or null if the matrix is not hermitian.
public HermitianMatrix<T> AsHermitianMatrix()
Return Value
HermitianMatrix<T>A HermitianMatrix<T>.
Remarks
If the matrix is already a HermitianMatrix<T>, then the same instance is returned. If the matrix is a dense matrix, then the storage is reused for the Hermitian matrix.
AsHermitianMatrix(MatrixTriangle)
Returns a HermitianMatrix<T> extracted from a part of the matrix.
public HermitianMatrix<T> AsHermitianMatrix(
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>.
Remarks
If the matrix is already a HermitianMatrix<T>, then the same instance is returned. If the matrix is a dense matrix, then the storage is reused for the Hermitian matrix.