Hi,

How about this syntax?

> sage: A = random_matrix(ZZ,3,3)
> sage: TermOrder("weight",matrix=A)

following the Magma syntax for weight ordering. I certainly prefer the
term weight ordering than matrix ordering.

The following is the description of the weight ordering in the Magma
documentation:

Definition (given n weight vectors W1, ... Wn from Q^n): s < t iff
there exists 1 ≤i ≤n such that s.Wj = t.Wj for 1 ≤j < i and s.Wi <
t.Wi. The order is specified by the arguments ("weight", Q) where Q is
a sequence of n^2 non-negative integers or rationals describing the n
weight vectors of length n (in row major order).

Kwankyu

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to