Hello,

> I would like to fix .eigenvalues() for matrices in order to work over
> finite fields. Currently
> {{{
> sage: K = GF(3)
> sage: m = MatrixSpace(K,5).random_element()
> sage: m.eigenvalues()
> Traceback: most recent call (last)
> ...
> NotImplementedError: eigenvalues() is not implemented for matrices
> with eigenvalues that are not in the fraction field of the base ring
> or in QQbar
> }}}
> I think the cleanest way would be to have an implementation of the
> algebraic closure of Fp. Is there some implementation already
> somewhere ? Otherwise, I will fix it using a splitting field of the
> characteristic polynomial.

Darij is right, there is a very basic implementation of Fpbar in #14990.
Unfortunately, factorisation of polynomials is not yet implemented, but
it should be relatively straightforward.

Peter

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to