Thanks, Anne! That is the problem indeed. Using to_vector(ZZ) resolves it.
On Mon, Mar 11, 2013 at 8:50 PM, Anne Schilling wrote:
> The problem is that the entries in nl are rational numbers and
> not integers:
>
> sage: type(nl[0])
> sage.rings.rational.Rational
> sage: type([0,2,1][0])
> sage.
Dear Sage-combinat Community!
Nicolas Thiery, Alejandro Morales and I are going to organize Sage Days 49
in Paris June 17th-21st 2013. For more details see:
http://wiki.sagemath.org/combinat/FPSAC13
For people from US institutions: We have some funds for travel and lodging
from our Sage-NSF gran
The problem is that the entries in nl are rational numbers and
not integers:
sage: type(nl[0])
sage.rings.rational.Rational
sage: type([0,2,1][0])
sage.rings.integer.Integer
Best,
Anne
On 3/11/13 7:59 PM, Mark Shimozono wrote:
> Hi Daniel!
>
> That is an amazing bug. It is treating a literal
Hi Daniel!
That is an amazing bug. It is treating a literal [0,2,1]
differently from a constructed list with the same value.
Here is my followup test.
(after your stuff)
sage: nl = nu.to_vector().list()
sage: nl == [0,2,1]
True
sage: [[None]*s for s in [0,2,1]]
[[], [None, None], [None]]
sage:
Sorry, I forgot this line when I copied:
sage: w=W.an_element()
So altogether we would have:
sage: from sage.combinat.sf.ns_macdonald import E
sage: W=WeylGroup(['A',2])
sage: w=W.an_element()
sage: mu=W.domain()([2,1,0])
sage: nu=w.action(mu)
sage: nu.to_vector().list()
[0, 2, 1]
sage: E([0,2,1
On Sat, Mar 09, 2013 at 07:38:38PM -0500, Daniel Orr wrote:
>I would like to calculate (type A) nonsymmetric Macdonald polynomials in
>the Weyl group orbit of a given weight. In trying to do so I encounter the
>problem below.
>
>Any help would be appreciated!
>
>Thanks,
>D
On Mon, Mar 11, 2013 at 09:39:25PM +0100, Christian Stump wrote:
> thanks for the suggestion, but this is not really an option since I
> get edges in all directions, however I turn it, I will have quite some
> edges going north-south...
Ok.
At first sight, I haven't seen automatic handling for th
> Not exactly an answer to your question, but you could maybe ask for a
> left-to-right layout instead of top to bottom?
thanks for the suggestion, but this is not really an option since I
get edges in all directions, however I turn it, I will have quite some
edges going north-south...
Cheers, Ch
On Mon, Mar 11, 2013 at 08:03:53PM +0100, Christian Stump wrote:
> Thanks Nicolas, that worked!
>
> Btw: to you happen to know how to draw edge labels along the edge (I
> do get a lot of vertical edges with very long labels...).
Not exactly an answer to your question, but you could maybe ask for
>> Can someone (maybe you Nathann), tell me how to get a nice tikz
>> plot of this (using Sage, of course)? If there is no change to get
>> multiple edges, I could as well take the edge and provide a long
>> string (drawn maybe along the edge) to replace the multiple edge.
Thanks Nicolas, that
Hi Christian, Sébastien, Nathann,
On Mon, Mar 11, 2013 at 01:18:14PM +0100, Christian Stump wrote:
> I have the following graph with loops and multiple edges:
> ...
> Can someone (maybe you Nathann), tell me how to get a nice tikz
> plot of this (using Sage, of course)? If there is no
Hi!
I would like to calculate (type A) nonsymmetric Macdonald polynomials in
the Weyl group orbit of a given weight. In trying to do so I encounter the
problem below.
Any help would be appreciated!
Thanks,
Dan Orr
sage: from sage.combinat.sf.ns_macdonald import E
sage: W=WeylGroup(['A',2])
sa
Hellooo !!!
I have the following graph with loops and multiple edges:
Did I ever mention that I *HATE* loops and multiple edges ? And labels, of
course.
Can someone (maybe you Nathann), tell me how to get a nice tikz
> plot of this (using Sage, of course)?
H.. I
Hi graph plotting people!
I have the following graph with loops and multiple edges:
sage: G = DiGraph()
sage: G.allow_loops(True)
sage: G.allow_multiple_edges(True)
sage: G.add_edges(
[('Binary trees', 'Binary trees', 'Left border symmetry'),
('Binary trees', 'Binary trees', 'Left-right symmetry
14 matches
Mail list logo