Re: [sage-devel] polynomial resultant problem

2012-03-26 Thread John Cremona
Your diagnosis makes sense, since in PARI there are no multivariate polynomials, only polys with poly coefficients. John On 26 March 2012 02:52, Ben Hutz wrote: > The resultant of two homogeneous polynomials can return an incorrect > value: > R.=PolynomialRing(ZZ) > f=6*x^2 + x*y + y^2 > g=y^2

[sage-devel] polynomial resultant problem

2012-03-25 Thread Ben Hutz
The resultant of two homogeneous polynomials can return an incorrect value: R.=PolynomialRing(ZZ) f=6*x^2 + x*y + y^2 g=y^2 print f.resultant(g) m=matrix([[6,1,1,0],[0,6,1,1],[0,0,1,0],[0,0,0,1]]) m.determinant() notice that the coefficient of the f.resultant(g) does not match the integer determin