[sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread John H Palmieri
On Sep 27, 2:30 pm, Christian Stump wrote: > Hi, > > thanks for your replies, especially for the patch, this should solve > my issues! Do you want me to include your patch into mine on this > topic, or do you want to deal with Nicolas' suggestions yourself and/ > or make it a little patch in itsel

[sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread Christian Stump
Hi, thanks for your replies, especially for the patch, this should solve my issues! Do you want me to include your patch into mine on this topic, or do you want to deal with Nicolas' suggestions yourself and/ or make it a little patch in itself? Best, Christian On Sep 27, 5:14 pm, "Nicolas M. Th

Re: [sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread Nicolas M. Thiery
On Mon, Sep 27, 2010 at 01:30:05PM -0700, John H Palmieri wrote: > > Just a comment: I would tend to leave the import of ``Integer`` at the > > top level, since it's used in at least one time critical spot. Only, I > > would import it from sage.rings.integer instead of sage.rings.all. > > I guess

[sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread John H Palmieri
On Sep 27, 12:02 pm, "Nicolas M. Thiery" wrote: >         Hi John, Christian, > > On Mon, Sep 27, 2010 at 08:20:26AM -0700, John H Palmieri wrote: > > I think that many of the import statements in free_module.py should be > > inside the methods that use them, rather than at the top level. > > He

Re: [sage-combinat-devel] CombinatorialFreeModule and Facade

2010-09-27 Thread Nicolas M. Thiery
Hi Viviane! On Mon, Sep 27, 2010 at 03:42:55PM +0200, Viviane Pons wrote: > I was seeing it the other way arround : the concrete parents giving > their facade parents. I see. > This is the way it has to work for me, so actually, I can't use the > "facade" parameter in parents as I don't

Re: [sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread Nicolas M. Thiery
Hi John, Christian, On Mon, Sep 27, 2010 at 08:20:26AM -0700, John H Palmieri wrote: > I think that many of the import statements in free_module.py should be > inside the methods that use them, rather than at the top level. > Here's a patch which moves some of them: > >

[sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread John H Palmieri
On Sep 27, 5:41 am, Christian Stump wrote: > Salut, > > as you are just talking about the CombinatorialFreeModule: my problem > is that the CFM imports everything from rings, as you can create a CFM > over any ring. Now, I use the CFM to implement the universal > cyclotomic field, which I import i

Re: [sage-combinat-devel] CombinatorialFreeModule and Facade

2010-09-27 Thread Viviane Pons
I was seeing it the other way arround : the concrete parents giving their facade parents. This is the way it has to work for me, so actually, I can't use the "facade" parameter in parents as I don't know which are the concrete parents when I create the facade. thank's anyway 2010/9/27 Nicolas M.

[sage-combinat-devel] Re: Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread Christian Stump
btw: to speed the multiplication coming from algebras_with_basis, now only linear_combination is used in there. This makes the computation way faster but has the disadvantage that the multiplication is now called http://groups.google.com/group/sage-combinat-devel?hl=en.

[sage-combinat-devel] Implementing a ring using CombinatorialFreeModule

2010-09-27 Thread Christian Stump
Salut, as you are just talking about the CombinatorialFreeModule: my problem is that the CFM imports everything from rings, as you can create a CFM over any ring. Now, I use the CFM to implement the universal cyclotomic field, which I import in rings, as it is one. Thus, I get problems with an imp

Re: [sage-combinat-devel] CombinatorialFreeModule and Facade

2010-09-27 Thread Nicolas M. Thiery
Hi Viviane, On Mon, Sep 27, 2010 at 11:03:27AM +0200, Viviane Pons wrote: > I would like to send the "facade" init parameter to a > CombinatorialFreeModule, but it's not supported whereas it is for > Parent. Should I create a ticket and fix that ? A CombinatorialFreeModule provides a conc

[sage-combinat-devel] CombinatorialFreeModule and Facade

2010-09-27 Thread Viviane Pons
Hi everyone, I would like to send the "facade" init parameter to a CombinatorialFreeModule, but it's not supported whereas it is for Parent. Should I create a ticket and fix that ? Regards Viviane -- You received this message because you are subscribed to the Google Groups "sage-combinat-deve