The final operation before you can invert a matrix is to find the adjugate of a matrix. The adjugate of a matrix is the transpose of the cofactor matrix. Implementing the adjugate is simple since you already know how to find the cofactor of a matrix and how to transpose a matrix.