The following sage session shows a call to compute the resultant of two polynomials that fails, and another call that seems quite similar in syntax and semantics that succeeds just fine. What's going on here? It seems to not realize that f is a polynomial, since it says it's a FractionFieldEle object. Is there a way to make it realize that f is a polynomial?
sage: R.<z,p,q> = QQ[] sage: a = z^2 - z^-2 sage: f = z^2 *(p-a) sage: f -z^4 + z^2*p + 1 sage: f.resultant(z-p) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /Users/beeson/<ipython console> in <module>() AttributeError: 'sage.rings.fraction_field_element.FractionFieldEle' object has no attribute 'resultant' sage: f.resultant(z^4-1) --------------------------------------------------------------------------- sage: h = z-q sage: g = z-p sage: h.resultant(g) -p + q -- 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
