[sage-combinat-devel] Re: problems with HasseDiagram and rank

2012-01-13 Thread Raymond N. Greenwell
That works! Thanks! On Jan 13, 5:38 pm, John H Palmieri wrote: > On Friday, January 13, 2012 2:07:00 PM UTC-8, Raymond N. Greenwell wrote: > > > Hello! I posted this on sage-support, but I should have posted it > > here. > > > I tried using the HasseDiagram and rank features of Sage as described

[sage-combinat-devel] Re: Combinatorica-like commands in Sage

2012-01-13 Thread Raymond N. Greenwell
Back in December, I was able to import a graph in csv format and create a graph of it with help from William, Nathann, and Lukás. I'm now wondering how to do this in Sage Notebook, where the command: cat "medalcomparisonbottom.csv" gives me the response: Traceback (click to the left of this block f

[sage-combinat-devel] Re: problems with HasseDiagram and rank

2012-01-13 Thread John H Palmieri
On Friday, January 13, 2012 2:07:00 PM UTC-8, Raymond N. Greenwell wrote: > > Hello! I posted this on sage-support, but I should have posted it > here. > > I tried using the HasseDiagram and rank features of Sage as described > on > http://www.sagemath.org/doc/reference/sage/combinat/posets/h

[sage-combinat-devel] problems with HasseDiagram and rank

2012-01-13 Thread Raymond N. Greenwell
Hello! I posted this on sage-support, but I should have posted it here. I tried using the HasseDiagram and rank features of Sage as described on http://www.sagemath.org/doc/reference/sage/combinat/posets/hasse_diagram.html Things worked ok, but when I then tried: m= Matrix([[0,1,1],[0,0,1],[0,0,0

[sage-combinat-devel] Re: Coercion error in symmetric functions

2012-01-13 Thread Simon King
Hi Nicolas, On 13 Jan., 10:12, "Nicolas M. Thiery" wrote: > On Thu, Jan 12, 2012 at 07:24:53AM -0800, Simon King wrote: > > It turns out that sage/combinat/... uses the implicit assumption that > > SymmetricFunctions(...) is a strongly cached object, i.e., that it > > will persist in memory forev

Re: [sage-combinat-devel] Re: Coercion error in symmetric functions

2012-01-13 Thread Nicolas M. Thiery
On Thu, Jan 12, 2012 at 07:24:53AM -0800, Simon King wrote: > It turns out that sage/combinat/... uses the implicit assumption that > SymmetricFunctions(...) is a strongly cached object, i.e., that it > will persist in memory forever. But #12215 turns > `UniqueRepresentation` into a weak cache. >

Re: [sage-combinat-devel] Re: Data structure design pattern (for Cartan types)

2012-01-13 Thread Nicolas M. Thiery
On Thu, Jan 12, 2012 at 05:31:13PM -0800, Travis Scrimshaw wrote: > > A note, just to be pedantic: Singleton is a special case of > > UniqueRepresentation (when there are no arguments). And by the way, > > there is an upcoming Singleton class for that special case coming in > > #11900. > > Good to