def _minor(x, i, j):
    """The minor matrix of x

    :param i: the column to eliminate
    :param j: the row to eliminate
    :returns: x without column i and row j
    """
    return [[x[n][m] for m in range(len(x[0])) if m != j]
            for n in range(len(x)) if n != i]