Matrix<T>.AsSymmetricMatrix Method

Returns a matrix as a SymmetricMatrix<T>, or null if the matrix is not symmetrical.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public SymmetricMatrix<T> AsSymmetricMatrix()

Return Value

SymmetricMatrix<T>
A SymmetricMatrix<T>.

Remarks

If the matrix is already a SymmetricMatrix<T>, then the same instance is returned. If the matrix is a dense matrix, then the storage is reused for the symmetric matrix.

See Also