AnySquareMatrix.Trace Method
Click or drag to resize

AnySquareMatrixTrace Method

Computes the trace of the square matrix.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public virtual double Trace()

Return Value

Type: Double
tr(M)
Remarks

The trace of a square matrix is the sum of its diagonal elements.

See Also