On Jan 28, 11:50 am, Simon King <simon.k...@nuigalway.ie> wrote: > And for solving modulo something, this should work: > > sage: f.roots(ring=GF(7)) > [] > sage: f.roots(ring=GF(5)) > [(4, 1), (3, 2)] >
Just because I tried and failed, could this also be made possible for polynomials in more than 1 variable? i.e. is there something that can do this? sage: f(x,y) = ZZ[x,y](x+y+1) sage: f.roots() [(-y - 1, 1)] sage: sage: f.roots(ring=GF(2)) AttributeError: 'sage.rings.polynomial.multi_polynomial_libsingular' object has no attribute 'roots' # possible solution sage: mod(f(1,0), 2) 0 H -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org