#11316: Weighted degree term orders added
--------------------------------+-------------------------------------------
Reporter: klee | Owner: AlexGhitza
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: basic arithmetic | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Kwankyu Lee
Merged: | Dependencies:
--------------------------------+-------------------------------------------
Comment(by klee):
`wp`, that is, `wdegrevlex` term order is supposed to define so-called
local term order in Sage as well as in Singular. Therefore negative
integers are not allowed in weights.
Your term order `(a(...),dp)` is not a term order officially supported in
Sage. In that case, Sage allows to force the term order by setting
`force=True` So you could do
{{{
sage: t = TermOrder('a(1,-2,0),dp',n=3,force=True)
sage: t
a(1,-2,0),dp term order
sage: t.singular_str()
'a(1,-2,0),dp'
}}}
But this reveals a bug in dealing with the `force` argument in the current
patch. So I prepared a fourth patch to fix this bug. I will shortly upload
the fourth patch, after doctesting. Then you can experiment.
You are welcome to add more documentation in the reviewer patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11316#comment:29>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.