On Saturday 09 October 2010, andrew ewart wrote: > whats the best way to code the following > I want a print out of a grobner basis for an ideal I generated by the > polynomials > <x^5 + y^4 +z^3, x^3 + y^2 + z^2 -1> > this is respect to the reverse lexicographic and lexicographic order
sage: P.<x,y,z> = PolynomialRing(QQ,order='neglex') sage: I = Ideal(x^5 + y^4 +z^3, x^3 + y^2 + z^2 -1) sage: I.groebner_basis() [1] See http://sagemath.org/doc/reference/sage/rings/polynomial/multi_polynomial_ideal.html Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress.com/ _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
