On Wednesday 09 December 2009, Santanu Sarkar wrote: > Dear all, > Suppose I have polynomials over rational(Q) field although coefficients > are integer. > I want to transform these polynomials over some finite field say GF(7).
Try: sage: R.<x,y>=QQ[] sage: f1=2*x-3*y-1 sage: f2=x^2+y^2-5 sage: f1.change_ring(GF(7)) 2*x - 3*y - 1 sage: parent(f1.change_ring(GF(7))) Multivariate Polynomial Ring in x, y over Finite Field of size 7 Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: [email protected] -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
