| 
            
              MatrixDiagonalT Method (Int32, T)
             | 
          
        
         
              Returns a square diagonal matrix of the given size.
            
 
    Namespace: 
   Accord.Math
    Assembly:
   Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntaxpublic static T[,] Diagonal<T>(
	int size,
	T value
)
Public Shared Function Diagonal(Of T) ( 
	size As Integer,
	value As T
) As T(,)
 Request Example
		View SourceParameters
- size
 - Type: SystemInt32
 - value
 - Type: T
 
Type Parameters
- T
 
Return Value
Type: 
T
See Also