CreateIdentityMatrix
Creates a square matrix with ones on the main diagonal, and zeros elsewhere.
Syntax
C++
Python
def CreateIdentityMatrix( inSize: int, outMatrix: Matrix, / ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSize | int | 1 - ![]() |
||
![]() |
outMatrix | Matrix |



