(self, **flags)
return self.berkowitz_eigenvals(**flags)
Return eigen values using the berkowitz_eigenvals routine.

        Since the roots routine doesn't always work well with Floats,
        they will be replaced with Rationals before calling that
        routine. If this is not desired, set flag ``rational`` to False.
Return eigen values using the berkowitz_eigenvals routine.
Return eigen values using the berkowitz_eigenvals routine .
def eigenvals(self, **flags):
        """Return eigen values using the berkowitz_eigenvals routine.

        Since the roots routine doesn't always work well with Floats,
        they will be replaced with Rationals before calling that
        routine. If this is not desired, set flag ``rational`` to False.
        """
        # roots doesn't like Floats, so replace them with Rationals
        # unless the nsimplify flag indicates that this has already
        # been done, e.g. in eigenvects
        if flags.pop('rational', True):
            if any(v.has(Float) for v in self):
                self = self._new(self.rows, self.cols,
                    [nsimplify(v, rational=True) for v in self])

        flags.pop('simplify', None)  # pop unsupported flag
        return self.berkowitz_eigenvals(**flags)
def eigenvals ( self , * * flags ) : # roots doesn't like Floats, so replace them with Rationals # unless the nsimplify flag indicates that this has already # been done, e.g. in eigenvects if flags . pop ( 'rational' , True ) : if any ( v . has ( Float ) for v in self ) : self = self . _new ( self . rows , self . cols , [ nsimplify ( v , rational = True ) for v in self ] ) flags . pop ( 'simplify' , None ) # pop unsupported flag return self . berkowitz_eigenvals ( * * flags )