#7797: basic interface to letterplace from singular
---------------------------------------------------+------------------------
   Reporter:  burcin                               |       Owner:  burcin      
       Type:  enhancement                          |      Status:  needs_review
   Priority:  major                                |   Milestone:  sage-4.5    
  Component:  algebra                              |    Keywords:  singular    
     Author:  Michael Brickenstein, Burcin Erocal  |    Upstream:  N/A         
   Reviewer:                                       |      Merged:              
Work_issues:                                       |  
---------------------------------------------------+------------------------

Comment(by malb):

 {{{
 File "/mnt/usb1/scratch/malb/sage-4.4/devel/sage-
 main/sage/libs/singular/letterplace.py", line 32:

 sage: freegb(l, 10)

 Expected:

 [3*y*x*z^7*y + y*x*z^8, 3*y*x*z^6*y + y*x*z^7, y*x*z^6*x*z +
 314928*y^2*x*z^2*x^5, 3*y*x*z^5*y + y*x*z^6, y*x*z^5*x*z -
 17496*y^2*x*z^2*x^4, 3*y*x*z^4*y + y*x*z^5, y*x*z^4*x*z +
 972*y^2*x*z^2*x^3, 3*y*x*z^4*x^2*z*y + y*x*z^4*x^2*z^2, 3*y*x*z^3*y +
 y*x*z^4, y*x*z^3*x*z - 54*y^2*x*z^2*x^2, 3*y*x*z^3*x^2*z^2*y +
 y*x*z^3*x^2*z^3, 3*y*x*z^3*x^2*z*y + y*x*z^3*x^2*z^2, 3*y*x*z^3*x^3*z*y +
 y*x*z^3*x^3*z^2, 3*y*x*z^2*y + y*x*z^3, y*x*z^2*x*z + 3*y^2*x*z^2*x,
 3*y*x*z^2*x^2*z^3*y + y*x*z^2*x^2*z^4, 3*y*x*z^2*x^2*z^2*y +
 y*x*z^2*x^2*z^3, y*x*z^2*x^2*z^2*x*z + 3*y^2*x*z^2*x^2*z^2*x,
 3*y*x*z^2*x^2*z*y + y*x*z^2*x^2*z^2, 3*y*x*z^2*x^3*z^2*y +
 y*x*z^2*x^3*z^3, 3*y*x*z^2*x^3*z*y + y*x*z^2*x^3*z^2, 3*y*x*z^2*x^4*z*y +
 y*x*z^2*x^4*z^2, 3*y*x*z*y + y*x*z^2, x*z*y^6*x*z - 7776*y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*z*y + y*x*z^2*x^4*z^2, x*z*y^6*x*z -
 7776*y*x*z^2*x^6]
 }}}
 This is with Singular 3-1-1-3 though.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7797#comment:8>
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.

Reply via email to