| MatDiag Method (MatDiagType) | 
        
         
            Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat Diag(
	MatDiagType d = MatDiagType.Main
)
Public Function Diag ( 
	Optional d As MatDiagType = MatDiagType.Main
) As Mat
public:
Mat^ Diag(
	MatDiagType d = MatDiagType::Main
)
member Diag : 
        ?d : MatDiagType 
(* Defaults:
        let _d = defaultArg d MatDiagType.Main
*)
-> Mat 
Parameters
- d (Optional)
- Type: OpenCvSharpMatDiagType
 Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:
Return Value
Type: 
Mat See Also
See Also