Back to FabImage Library website
You are here: Start » Function Reference » Matrix » CreateIdentityMatrix
Header: | STD.h |
---|---|
Namespace: | fil |
Create a square matrix with ones on the main diagonal, and zeros elsewhere.
Syntax
void fil::CreateIdentityMatrix ( int inSize, fil::Matrix& outMatrix )