minor abstract method

Matrix<T> minor(
  1. int row,
  2. int col
)

A minor of a matrix A is the determinant of some smaller square matrix, cut down from A by removing one or more of its rows and columns.

This function only computes the first minor, which is the minor obtained by only removing 1 row and 1 column from the source matrix. This is often useful to calculate cofactors.

Implementation

Matrix<T> minor(int row, int col);