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:
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