ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Processing Namespace / IGDoubleMatrix Class / CreateIdentity Method
Matrix row count.
Matrix column count.




In This Topic
CreateIdentity Method
In This Topic
Creates identity diagonal matrix with 0 values initialized and diagonal values are 1.
Syntax
'Declaration
 
Public Function CreateIdentity( _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer _
) As IGDoubleMatrix
 
'Usage
 
Dim instance As IGDoubleMatrix
Dim rowCount As Integer
Dim columnCount As Integer
Dim value As IGDoubleMatrix
 
value = instance.CreateIdentity(rowCount, columnCount)

Parameters

rowCount
Matrix row count.
columnCount
Matrix column count.

Return Value

IGDoubleMatrix class object.
See Also