Matrix<T>.To Symmetric Matrix Method
Returns a new SymmetricMatrix<T> extracted from a part of the matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A SymmetricMatrix<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public SymmetricMatrix<T> ToSymmetricMatrix(
MatrixTriangle storedTriangle = MatrixTriangle.Upper
)
Parameters
- storedTriangle MatrixTriangle (Optional)
- A MatrixTriangle value that indicates whether the elements of the symmetric matrix are stored in the upper or lower triangular portion of the matrix.
Return Value
SymmetricMatrix<T>A SymmetricMatrix<T>.