On Nov 28, 2007 3:40 AM, Simon King <[EMAIL PROTECTED]> wrote:
>
> Dear Martin,
>
> > It's a buglet but I believe this is handled in Singular this way, not sure
> > though.
>
> It seems you are right!
> Singular does:
> > ring r = 7,(x(1..2)),dp;
> > ideal I = x(1)^7*x(2)-x(1)*x(2)^7, 
> > x(1)^12-2*x(1)^9*x(2)^3-x(1)^6*x(2)^6+2*x(1)^3*x(2)^9+x(2)^12, 
> > x(1)^18+2*x(1)^15*x(2)^3+3*x(1)^12*x(2)^6+3*x(1)^6*x(2)^12-2*x(1)^3*x(2)^15+x(2)^18;
> > I;
> I[1]=x(1)^7*x(2)-x(1)*x(2)^7
> I[2]=x(1)^12-2*x(1)^9*x(2)^3-x(1)^6*x(2)^6+2*x(1)^3*x(2)^9+x(2)^12
> I[3]=x(1)^18+2*x(1)^15*x(2)^3+3*x(1)^12*x(2)^6+3*x(1)^6*x(2)^12-2*x(1)^3*x(2)^15+x(2)^18
> > print(I);
> x(1)^7*x(2)-x(1)*x(2)^7,
> x(1)^12-2*x(1)^9*x(2)^3-x(1)^6*x(2)^6+2*x(1)^3*x(2)^9+x(2)^12,
> x(1)^18+2*x(1)^15*x(2)^3+3*x(1)^12*x(2)^6+3*x(1)^6*x(2)^12-2*x(1)^3*x(2)^15+x(2)^18
> > def sage5=matrix(I);
> > sage5;
> sage5[1,1]=x(1)^7*x(2)-x(1)*x(2)^7
> sage5[1,2]=x(1)^12-2*x(1)^9*x(2)^3-
> x(1)^6*x(2)^6+2*x(1)^3*x(2)^9+x(2)^12
> sage5[1,3]=x(1)^18+2*x(1)^15*x(2)^3+3*x(1)^12*x(2)^6+3*x(1)^6*x(2)^12-2*x(1)^3*x(2)^15+x(2)^18
> > print(sage5);
> x(1)^7*x(2)-x(1)*x(2)^7,sage5[1,2],sage5[1,3]
> > print(matrix(I));
> x(1)^7*x(2)-x(1)*x(2)^7,_[1,2],_[1,3]
>
> I find this very odd. If i explicitly say "print" then i want to see
> it printed - full stop. And why are ideals and matrices handled with
> differently? So i will post it to the Singular team.
>
> Sage does:
> sage: R=singular.ring(7,'(x(1..2))','dp')
> sage: I=singular.ideal('x(1)^7*x(2)-x(1)*x(2)^7',
> 'x(1)^12-2*x(1)^9*x(2)^3-
> x(1)^6*x(2)^6+2*x(1)^3*x(2)^9+x(2)^12','x(1)^18+2*x(1)^15*x(2)^3+3*x(1)^12*x(2)^6+3*x(1)^6*x(2)^12-2*x(1)^3*x(2)^15+x(2)^18')
> sage: I
>
> x(1)^7*x(2)-x(1)*x(2)^7,
> x(1)^12-2*x(1)^9*x(2)^3-x(1)^6*x(2)^6+2*x(1)^3*x(2)^9+x(2)^12,
> x(1)^18+2*x(1)^15*x(2)^3+3*x(1)^12*x(2)^6+3*x(1)^6*x(2)^12-2*x(1)^3*x(2)^15+x(2)^18
> sage: I.matrix()
> x(1)^7*x(2)-x(1)*x(2)^7,sage5[1,2],sage5[1,3]
>
> What i don't like (but that's a matter of taste) is the empty line
> after 'sage: I'.
>
> > Could you open a trac ticket for this?
>
> Definitely i'm going to inform Singular. Concerning trac ticket: How
> to do so?

You have to ask William Stein for a login and password to
http://sagetrac.org/sage_trac/
The password doesn't have to be secure - that's just to prevent
wiki spam. Then click on "new ticket" and fill in the form.
Remember to put sage/singular code in {{{...}}},
as explained on the above webpage.

Thanks!



>
> Yours
>      Simon
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to