Version

Trace(Matrix) Method

Returns the trace of the Matrixx. The trace is the sum of the elements of x along the main diagonal.
Syntax
'Declaration
 
Public Overloads Shared Function Trace( _
   ByVal x As Matrix _
) As Double
public static double Trace( 
   Matrix x
)

Parameters

x
A Matrix.

Return Value

The trace of x.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also