ImageGear v26.3 - Updated
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)
    public IGDoubleMatrix CreateIdentity( 
       int rowCount,
       int columnCount
    )
    public: IGDoubleMatrix* CreateIdentity( 
       int rowCount,
       int columnCount
    ) 
    public:
    IGDoubleMatrix^ CreateIdentity( 
       int rowCount,
       int columnCount
    ) 

    Parameters

    rowCount
    Matrix row count.
    columnCount
    Matrix column count.

    Return Value

    IGDoubleMatrix class object.
    See Also