'Return the submatrix obtained by removing the `i`th row
and `j`th column from `self`.
See Also
minor
cofactor'

def minor_submatrix(self, i, j):

    if (i < 0):
        i += self.rows
    if (j < 0):
        j += self.cols
    if ((not (0 <= i < self.rows)) or (not (0 <= j < self.cols))):
        raise ValueError((('`i`    and    `j`    must    satisfy    0    <=    i    <    `self.rows`    (%d)' % self.rows) + ('and    0    <=    j    <    `self.cols`    (%d).' % self.cols)))
    rows = [a for a in range(self.rows) if (a != i)]
    cols = [a for a in range(self.cols) if (a != j)]
    return self.extract(rows, cols)
