.NET Matrix Library
Diagonal Method
See Also  Send comments on this topic


Returns a Vector object containing the main diagonal of the current matrix.

Syntax

Visual Basic (Declaration) 
Public Function Diagonal() As Vector
C# 
public Vector Diagonal()
C++/CLI 
public:
Vector^ Diagonal(); 

Return Value

A Vector object containing the elements of the main diagonal.

Requirements

Platforms: Windows 7, Windows Vista, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows 2000

See Also

.NET Matrix Library Documentation