[sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread luisfe
On Mar 1, 12:59 pm, Robert Goss wrote: > > What kind of generators of ideals are you dealing with? > > For reference all the input generators are in QQ. > > Robert Then, definitely you should work in PolynomialRing(QQ,2) -- To post to this group, send email to sage-support@googlegroups.com To u

Re: [sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread Robert Goss
> What kind of generators of ideals are you dealing with? For reference all the input generators are in QQ. Robert -- 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, vis

Re: [sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread Robert Goss
> No, it is not an exact computation over the complex, they are gauss > rationals a+b*I where a and b are rationals. As far as I know there is > no exact complex field implementation that is good for working with > ideals. Ah yes that would make a lot of sense. I will go back to my problem and se

[sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread luisfe
No, it is not an exact computation over the complex, they are gauss rationals a+b*I where a and b are rationals. As far as I know there is no exact complex field implementation that is good for working with ideals. What kind of generators of ideals are you dealing with? Note that even if the inpu

Re: [sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread Robert Goss
Thank you very much for your advice. I was trying to work out if the problem lay with me sage or documentation. > Do not use ideals over CC. CC is an inexact ring, so most operations > will fail. Work instead over the rationals. > > R. = PolynomialRing(QQ,2) > > or if you need complex numbers, you

[sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread luisfe
Robert, You have been answered how to solve the problem. But I would like to remark Volker's advice. Do not use ideals over CC. CC is an inexact ring, so most operations will fail. Work instead over the rationals. R. = PolynomialRing(QQ,2) or if you need complex numbers, you may try with a numb

Re: [sage-support] Re: Intersection of complex Ideals

2011-03-01 Thread Martin Albrecht
On Tuesday 01 March 2011, Simon King wrote: > Hi Robert, > > On 1 Mrz., 01:00, Robert Goss wrote: > > I have 2 ideals over the complex field and I would like to take their > > intersection. If I try and use the intersection method on one of the > > ideals i get an error message from singular stat

[sage-support] Re: Intersection of complex Ideals

2011-02-28 Thread Simon King
Hi Robert, On 1 Mrz., 01:00, Robert Goss wrote: > I have 2 ideals over the complex field and I would like to take their > intersection. If I try and use the intersection method on one of the > ideals i get an error message from singular stating the following type > error: > > TypeError: Cannot ca

[sage-support] Re: Intersection of complex Ideals

2011-02-28 Thread Volker Braun
Singular supports working with floating-point complex numbers (CDF in Sage), so it should work. Having said that, floating-point computations with polynomials are often dangerous because of the limited precision. Its usually better to work with arbitrary-precision coefficients like QQ or cyclo