The cofactor matrix of a matrix is defined as the cofactor of for each element in and is usually denoted by a
Where denotes the cofactor of for the row and the column