http://www.emgu.com
Return the main diagonal element of this matrix

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Matrix<TDepth> GetDiag()
Visual Basic
Public Function GetDiag As Matrix(Of TDepth)
Visual C++
public:
Matrix<TDepth>^ GetDiag()
F#
member GetDiag : unit -> Matrix<'TDepth> 

Return Value

Type: Matrix<(Of <(<'TDepth>)>)>
The main diagonal element of this matrix

See Also