Matrix<T>.ToSymmetricMatrix 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.3
C#
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>.

See Also