.NET Matrix Library
Trace Method
See Also  Send Feedback



Returns the sum of the elements of the main diagonal.

Syntax

Visual Basic (Declaration) 
Public Function Trace() As Double
Visual Basic (Usage)Copy Code
Dim instance As Matrix
Dim value As Double
 
value = instance.Trace()
C# 
public double Trace()
C++/CLI 
public:
double Trace(); 

Return Value

A double value equal to matrix trace.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library