| 1 | initial version |
Root finding of polynomials over function fields seems to be implemented, so this should work:
sage: M.change_ring(R.fraction_field()).characteristic_polynomial().roots()
[(x0 + x1, 1), (x0 - x1, 1)]
It has the advantage that it should also work in positive characteristic (where SR would not), and hopefully good use is made of specifics of the coefficient domain to provide efficient arithmetic.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.