An matrix can be inverted by augmenting with
an identity matrix , then using Gaussian
elimination to convert the left-hand block to .
The program randomly generates an matrix with integer
entries. The outcomes of successive row operations are
tabulated. Row operations can be expressed in terms of rational
numbers (fractions). Multipliers may be input as fractions or
decimals, e.g., -45/113 or 3.875.