Identity matrix (source code)

= Identity matrix
{title2=$I$}
{wiki}

The identity matrix has ones on its main diagonal and zeros elsewhere, and satisfies $IA=AI=A$ whenever the products are defined.