#18824: Add MultiPolynomialIdeal.groebner_basis("libgiac")
-------------------------------------+-------------------------------------
       Reporter:  malb               |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.8
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/giacpyGB    |  86bd0a445cee318d3cca0fef87babf4118c910d8
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by malb):

 Replying to [comment:14 frederichan]:
 > The sig_count pb is from giacpy 0.4.8 Pygen {{{__iter__}}}, it
 could/should? be fixed in a separate trac?

 yes, this should be a separate ticket but this ticket IMHO should depend
 on that ticket. That is, this ticket should wait until the fix is in.

 > we can avoid it with:
 > {{{ return PolynomialSequence(P, tuple(gb_giac), immutable=True)}}}
 > instead of just gb_giac. I remark time loss with tuple, should we adopt
 this?

 You mean instead of {{{PolynomialSequence(gb_giac, P, immutable=True)}}}?
 I don't think we should work around a bug which should be fixed instead.


 > is there a way to substitute efficiently variables in PolynomialRing
 (ex: 'i' will give use troubles in giac) if not I will just add some
 protection with an error message

 You can try but it's not very fast:

 {{{#!python
 sage: P.<a,b,c,i> = QQ[]
 sage: R.<x,y,z,w> = QQ[]
 sage: f = P.random_element()
 sage: R(f)
 -2*y^2 - 1/4*y*z + 6*z*w - 2*z - 59/5
 sage: %timeit R(f)
 10000 loops, best of 3: 77.3 µs per loop
 }}}

 Maybe check {{{P.gens_dict().keys()}}} for problematic names and only
 switch over if there is a problem?

--
Ticket URL: <http://trac.sagemath.org/ticket/18824#comment:16>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to