Instead of CC, try using QQ[i]. That works for me, giving the basis

    [x + 4/25, y - 24/25]

john perry

On Monday, February 17, 2014 10:37:30 AM UTC-6, sahi...@gmail.com wrote:
>
> Hi:
>
> I am trying to obtain solution of a system of polynomial equations with 
> complex coefficients without success. For example, when I try 
>
> S.<x,y> = PolynomialRing(CC,order='lex')
> I = ideal((1+i)*x+y,x+(1-i)*y-(1-i))
> G = I.groebner_basis()
>
> I see this error:
>
> AttributeError: 'Ideal_generic' object has no attribute 'groebner_basis'
>
> I tried another ideal and I am getting the same error. What am I doing wrong? 
> Any help would be well appreciated.
>
> Best Regards,
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to