def berkowitz_minors(self):
        sign, minors = S.One, []

        for poly in self.berkowitz():
            minors.append(sign*poly[-1])
            sign = -sign

        return tuple(minors)
Computes principal minors using Berkowitz method.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.berkowitz_minors