2010/1/31 Michael Beeson <[email protected]>: > another failed attempt to compute a resultant, that doesn't involve > any quotient fields: > > sage: R.<z,p,e,d,f,g,h,r,l,m>=QQ[] > sage: F = i*m*z^14 + (d+g)*z^13 + i*(f-p)*z^12 + e*z^11 + i*f*z^10 + > (e-g)*z^9 + i*(m+p)*z^8 + 2*d*z^7 - i*(m+p)*z^6 + (e-g)*z^5 -i*f*z^4 + > e*z^3 - i*(f-p)*z^2 + (d+g)*z - i*m
What is "i" above? It's not an element of R. Did you forget to define it? Or do you really want sqrt(-1)... in which case you should replace QQ by a quadratic number field. > sage: G = d*z^16 - (l+i*p)*z^15 + (e+i*h)*z^14 - r*z^13 + e*z^12 - (r > - i*p)*z^11 + (d-i*h)*z^10 - l*z^9 + l*z^7 - (d + i*h)*z^6 + (r+i*p) > *z^5 - e*z^4 + r*z^3 - (e-i*h)*z^2 + (l-i*p)*z -d > sage: F.resultant(G) > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call > last) > > /Users/beeson/<ipython console> in <module>() > > AttributeError: 'sage.symbolic.expression.Expression' object has no > attribute 'resultant' > > and I get the same result with "CC" in place of "QQ" > > -- > 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 > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- 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
