Back to FabImage Library Lite website
You are here: Start » Basic » Matrix » CreateIdentityMatrix

CreateIdentityMatrix
Header: | STD.h |
---|---|
Namespace: | fil |
Creates a square matrix with ones on the main diagonal, and zeros elsewhere.
Syntax
void fil::CreateIdentityMatrix ( int inSize, fil::Matrix& outMatrix )