[sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Bruce
I am trying to construct formal linear combinations of instances of a particular class. I have asked about this before and, I think, was given the following template class Foo(UniqueRepresentation): def __init__(self,a): self.data = a class Foos(Parent, UniqueRepresentation):

Re: [sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Viviane Pons
I think the Foo class must also inherit from the Element class. Viviane 2014-05-16 15:50 GMT+02:00 Bruce brucewestb...@gmail.com: I am trying to construct formal linear combinations of instances of a particular class. I have asked about this before and, I think, was given the following

Re: [sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Anne Schilling
Hi Bruce, You can check in sage/src/sage/algebras/affine_nil_temperley_lieb.py where the affine nilTemperley Lieb algebra was already implemented. Best, Anne On 5/16/14 6:50 AM, Bruce wrote: I am trying to construct formal linear combinations of instances of a particular class. I have

Re: [sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Bruce
On Friday, 16 May 2014 14:54:32 UTC+1, Viviane Pons wrote: I think the Foo class must also inherit from the Element class. If I change the first line to class Foo(Element, UniqueRepresentation): then when I create an instance and look at it I get Generic element of a structure -- You

Re: [sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Bruce
Thanks Anne. This implements an algebra. I want to have a vector space with basis and then construct some operators. Mathematically, this is a module for the affine Temperley-Lieb algebra. -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group.

Re: [sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Nicolas M. Thiery
On Fri, May 16, 2014 at 08:04:11AM -0700, Bruce wrote: On Friday, 16 May 2014 14:54:32 UTC+1, Viviane Pons wrote: I think the Foo class must also inherit from the Element class. If I change the first line to class Foo(Element, UniqueRepresentation): then when I create

Re: [sage-combinat-devel] CombinatorialFreeModule

2014-05-16 Thread Nicolas M. Thiery
Hi Bruce, On Fri, May 16, 2014 at 06:50:35AM -0700, Bruce wrote: While I am here: I am constructing an infinite dimensional representation of an algebra. This means the next step for me is to construct operators on this vector space (one for each integer) and these

[sage-combinat-devel] Re: CombinatorialFreeModule

2014-05-16 Thread Simon King
Hi! On 2014-05-16, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: By the way: usually an element class need not inherit from UniqueRepresentation Often enough an element class *should* not inherit from UniqueRepresentation, as UniqueRepresentation means that the resulting instances will be

[sage-combinat-devel] Re: CombinatorialFreeModule

2014-05-16 Thread Travis Scrimshaw
The indexing set for CombinatorialFreeModule should be a parent, not an element. So C = CombinatorialFreeModule(QQ, Foos()) and you should have your Foo initialize itself as an element (which will fix that tab completion error; I've encountered it when not initializating the category for an

[sage-devel] Re: Sage Days in June in Seattle

2014-05-16 Thread mmarco
What about the days before 19? El jueves, 15 de mayo de 2014 22:44:32 UTC+2, William escribió: Here's an update on the Sage days in June in Seattle. We will have a large house near UW June 19 - 30: http://www.homeaway.com/vacation-rental/p906894 On Fri, Apr 4, 2014 at 2:25 PM,

[sage-devel] Re: free private github repos

2014-05-16 Thread Jason Grout
On 5/15/14, 7:36, Dima Pasechnik wrote: And, by the way, should Sage get a DOI? This looks doable, only one probably needs to be an Owner of https://github.com/sagemath/sage and not just team member. Interesting. So would this mean that we can tell people at

[sage-devel] Re: setuptools install problem

2014-05-16 Thread Peter Bruin
It would be great if that worked. I disabled the tmp directory for the moment and am testing all tickets in the same directory, but that can leave the tree in a bad state. Peter Op vrijdag 16 mei 2014 10:03:01 UTC+1 schreef Ralf Stephan: Ah I finally found the relevant upstream ticket:

[sage-devel] Re: ChomP

2014-05-16 Thread Nathan Dunfield
The optional package ChomP installs cleanly but then does not actually work on Sage 6.1.1 on OS X Mavericks. Seems this is fixed in Sage 6.2. You're completely right, sorry about that. For some reason, I thought Sage 6.2 was still in beta and so didn't test it there. I tried it now

[sage-devel] Re: upgrading numpy/scipy

2014-05-16 Thread Nathan Dunfield
If someone is interested in getting numpy-1.8.1/scipy-0.14.0 in sage, they can review http://trac.sagemath.org/ticket/16299 I just reviewed it. Thanks for doing this, I recently ran into an annoying memory leak in numpy 1.7.0, which was fixed in 1.7.1 (and 1.8.1). Nathan -- You

[sage-devel] Re: free private github repos

2014-05-16 Thread Dima Pasechnik
On 2014-05-16, Jason Grout jason-s...@creativetrax.com wrote: On 5/15/14, 7:36, Dima Pasechnik wrote: And, by the way, should Sage get a DOI? This looks doable, only one probably needs to be an Owner of https://github.com/sagemath/sage and not just team member. Interesting. So would this

[sage-devel] Re: Mirror for 32-bit Ubuntu LTS.

2014-05-16 Thread Giorgio Zanin
Hi, is there any chance to have binaries for Ubuntu 12.04 LTS (32 bit)? I have an Ubuntu installation with no Internet connectivity and need to run Sage on it. Currently, with the binaries for 13.04 I have problems with the Glibc version (2.17 required, 2.15 available in Ubuntu 12.04). any

Re: [sage-devel] Re: Sage Days in June in Seattle

2014-05-16 Thread William Stein
On Fri, May 16, 2014 at 1:35 AM, mmarco mma...@unizar.es wrote: What about the days before 19? Participants will stay at a hotel those days, and we'll be meeting on campus. El jueves, 15 de mayo de 2014 22:44:32 UTC+2, William escribió: Here's an update on the Sage days in June in Seattle.

[sage-devel] Wrong libpng picked up by libm4ri with sage-6.2.

2014-05-16 Thread Montgomery-Smith, Stephen
I was building sage-6.2 using FreeBSD. I found out that the subpackage libm4ri was picking up the system libpng rather than the sage libpng. I was able to fix it with the following patch: --- build/pkgs/libm4ri/spkg-install-orig2014-05-16 18:34:53.0 + +++

[sage-devel] Re: Sage Edu Days 6

2014-05-16 Thread TJ
I just booked a room at Hotel Deca with two queen size beds. I would be happy to have a roommate. TJ On Sunday, May 11, 2014 10:35:04 AM UTC-5, Rob Beezer wrote: There is still some travel funding available, should you wish to attend Edu Days 6 in Seattle in June. Contact me off-list as

[sage-devel] looking up source files of wrapped code

2014-05-16 Thread Nils Bruin
Consider the following: sage: from sage.misc.sageinspect import sage_getfile, sage_getsource sage: sage_getsource(integrate) in open(sage_getfile(integrate),'r').read() True This is good: the source actually occurs as a substring in the file reported to contain the source. We're not so lucky

[sage-devel] Re: Wrong libpng picked up by libm4ri with sage-6.2.

2014-05-16 Thread leif
Montgomery-Smith, Stephen wrote: I was building sage-6.2 using FreeBSD. I found out that the subpackage libm4ri was picking up the system libpng rather than the sage libpng. I was able to fix it with the following patch: --- build/pkgs/libm4ri/spkg-install-orig2014-05-16

Re: [sage-devel] Re: Wrong libpng picked up by libm4ri with sage-6.2.

2014-05-16 Thread Montgomery-Smith, Stephen
On 05/16/2014 05:38 PM, leif wrote: Montgomery-Smith, Stephen wrote: I was building sage-6.2 using FreeBSD. I found out that the subpackage libm4ri was picking up the system libpng rather than the sage libpng. I was able to fix it with the following patch: ---

[sage-devel] Re: Wrong libpng picked up by libm4ri with sage-6.2.

2014-05-16 Thread Volker Braun
Besides which existing PKG* variables were set, it would also be interesting to know which pkg-config implementation is installed in your system. On Friday, May 16, 2014 9:04:08 PM UTC+1, Stephen Montgomery-Smith wrote: I was building sage-6.2 using FreeBSD. I found out that the subpackage

[sage-devel] Re: Wrong libpng picked up by libm4ri with sage-6.2.

2014-05-16 Thread leif
leif wrote: Montgomery-Smith, Stephen wrote: I was building sage-6.2 using FreeBSD. I found out that the subpackage libm4ri was picking up the system libpng rather than the sage libpng. ? We prepend Sage's pkg-config dir to PKG_CONFIG_PATH in sage-env... Or actually no longer... This is

Re: [sage-devel] Re: Wrong libpng picked up by libm4ri with sage-6.2.

2014-05-16 Thread Montgomery-Smith, Stephen
No PKG* variables were set by my system. pkgconf-0.9.5 http://svnweb.freebsd.org/ports/head/devel/pkgconf/ I looked at the dates on pkg-config in $SAGE_ROOT/local/bin, and it was created 4 seconds after libm4ri-20130416 was installed. I did create a ticket, but you can close it if you like.

[sage-devel] Re: Notification if a branch gets merge conflicts (changes form green to red)

2014-05-16 Thread Travis Scrimshaw
Please don't. It's something that will need to be done before positive review, but because we're using git, the branch can still be reviewed (especially because relatively trivial merge conflicts). Best, Travis On Friday, May 16, 2014 8:53:21 PM UTC-7, Ralf Stephan wrote: And set the ticket