Hi,
In Singular, a ring can be defined with matrix ordering:
> intmat a[2][2]=1,3,1,0;
> ring R=0,(x,y),M(a);
> R;
// characteristic : 0
// number of vars : 2
// block 1 : ordering M
// : names x y
// : weights 1 3
// : weights 1 0
// block 2 : ordering C
> x^2+y;
y+x2
In Sage, I am trying to construct a polynomial ring with matrix
ordering.
sage: singular.eval('intmat a[2][2]=1,3,1,0')
'intmat a[2][2]=1,3,1,0;'
sage: R.<x,y>=PolynomialRing(QQ,2,order='M(a)')
verbose 0 (342: term_order.py, __init__) Term ordering 'm(a)' unknown.
verbose 0 (342: term_order.py, __init__) Term ordering 'm(a)' unknown.
verbose 0 (342: term_order.py, __init__) Term ordering 'm(a)' unknown.
sage: x^2+y
x^2 + y
So this doesn't work. What am I doing wrong?
Kwankyu
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---