I installed sage 4.7 a moment ago, and am running into a problem with term orders defined using matrices. The following works correctly:
T = TermOrder(identity_matrix(2)) R = PolynomialRing(GF(101), names = 'x, y', order = T) print R.term_order().matrix() But if I negate the matrix, I run into a problem: T = TermOrder(-identity_matrix(2)) R = PolynomialRing(GF(101), names = 'x, y', order = T) print R.term_order().matrix() Traceback (most recent call last): File "yyy.py", line 6, in <module> print R.term_order().matrix() File "/Applications/sage/local/lib/python2.6/site-packages/sage/ rings/polynomial/term_order.py", line 1160, in matrix return matrix(self.__matrix) File "/Applications/sage/local/lib/python2.6/site-packages/sage/ matrix/constructor.py", line 650, in matrix raise ValueError, "Invalid matrix constructor. Type matrix? for help" ValueError: Invalid matrix constructor. Type matrix? for help Thanks for the help, Jeff Stroomer -- 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, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org