cofactorMatrix abstract method
The matrix formed by all of the cofactors of a square matrix is called the "cofactor matrix" (also called "the matrix of cofactors").
In practice, this matrix is obtained by calling minor(i, j)
for all the
rows and columns combinations of the matrix.
A MatrixException object is thrown if the matrix isn't square.
Implementation
Matrix<T> cofactorMatrix();