"i" is sqrt(-1),  which sage seems usually to realize without being
told.
Anyway there is no "i" in my first post on the resultant, and also
I get the same error with "CC" in place of "QQ".


On Jan 31, 3:38 pm, William Stein <wst...@gmail.com> wrote:
> 2010/1/31 Michael Beeson <profbee...@gmail.com>:
>
> > 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 sage-support@googlegroups.com
> > To unsubscribe from this group, send email to 
> > sage-support+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/sage-support
> > URL:http://www.sagemath.org
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to