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?

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