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
Input value inSize int 1 -
Output value outMatrix Matrix