[sage-devel] Combining finite/rational fields

2012-11-17 Thread Michael Orlitzky
I just opened, http://trac.sagemath.org/sage_trac/ticket/13720 intending to submit a patch a few minutes later, but I've hit a problem. The current examples feature, sage: legendre_P(3, GF(11)(5)) 8 which works due to a quirk in Maxima's string representation of the polynomial: sage:

Re: [sage-devel] Combining finite/rational fields

2012-11-17 Thread Robert Bradshaw
How about doing sage: f = legendre_P(3, GF(11)['x'].gen()); f 8*x^3 + 4*x sage: parent(f) Univariate Polynomial Ring in x over Finite Field of size 11 sage: f(5) 8 However, the implementation (manipulating strings) is pretty horrid. On Sat, Nov 17, 2012 at 8:08 PM, Michael Orlitzky