On Wed, Dec 2, 2009 at 1:01 AM, Mike Hansen <mhan...@gmail.com> wrote: > On Wed, Dec 2, 2009 at 12:57 PM, William Stein <wst...@gmail.com> wrote: >> WTF? Regular expressions?!?! > > The following messages are probably relevant for the fast conversion > between singular polynomial rings:
Thanks. There's also regular expression stuff done directly in InfinitePolynomialRing, which I think doesn't involve singular directly (see the __init__ method of InfinitePolynomialRing). Oh, I made a ticket with a few small bugs I found in InfinitePolynomialRing when playing around with it just now: http://trac.sagemath.org/sage_trac/ticket/7580 > > On Sat, Oct 18, 2008 at 2:55 AM, Michael Brickenstein > <brickenst...@mfo.de> wrote: >> In Singular the same thing is essentially done from the interpreter >> level by the more general command fetch. >> I had a look, what it does internally and came to the conclusion, >> that it just calls >> poly prCopyR(poly p, ring src_r, ring dest_r) >> in your simple case (same coefficient domains). >> So first, you should setup a new ring and >> then map the polynomial via >> prCopyR >> >> Michael > > On Mon, Oct 20, 2008 at 8:43 PM, <han...@mathematik.uni-kl.de> wrote: >> if the monomial ordering is really the same, >> you may also use >> poly prCopyR_NoSort(poly p, ring src_r, ring dest_r) >> which avoids the sorting the polynomial after mapping each monomial. >> There are also corresponding routines for ideals >> (ideal idrCopyR(ideal id, ring src_r, ring dest_r), >> ideal idrCopyR_NoSort(ideal id, ring src_r, ring dest_r) >> ) >> > > --Mike > > -- > 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 > URL: http://www.sagemath.org -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- 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 URL: http://www.sagemath.org