# Identity matrix

Revision as of 23:00, 19 March 2012 by rosettacode>Kernigh (Build an identity matrix.)

*is a*

**Identity matrix****draft**programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Build an identity matrix of a size known at runtime. An identity matrix is a square matrix, of size *n* × *n*, where the diagonal is all