Matrix<T>.Trace Method
Gets the sum of the diagonal elements of this
matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The sum of the diagonal elements of this Matrix<T>.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public virtual T Trace()
Return Value
TThe sum of the diagonal elements of this Matrix<T>.
Remarks
The sum of the diagonal elements of a matrix is called the trace of the matrix.