Updates:
        Status: Fixed
        Labels: -NeedsReview PassedReview

Comment #4 on issue 1790 by matt...@gmail.com: unnecessarily restriction on monomial ordering
http://code.google.com/p/sympy/issues/detail?id=1790

The keyword argument `order` is now less restrictive, e.g.:

In [1]: rev_lex = lambda monomial: tuple(reversed(monomial))

In [2]: F = [x**5 - y, x**10 - z, x**25 - t]

In [3]: groebner(F, order=rev_lex)
Out[3]:
⎡     25       10       5⎤
⎣t - x  , z - x  , y - x ⎦

In [4]: groebner(F, order='grlex')
Out[4]:
⎡      5          2          3        2⎤
⎣-y + x , -t + y⋅z , -t⋅y + z , -z + y ⎦

--
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to