Back to Adaptive Vision Library website
You are here: Start » Function Reference » Matrix » CreateIdentityMatrix
CreateIdentityMatrix
Create a square matrix with ones on the main diagonal, and zeros elsewhere.
Syntax
void avl::CreateIdentityMatrix ( int inSize, avl::Matrix& outMatrix )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSize | int | 1 - ![]() |
||
![]() |
outMatrix | Matrix& |



