[sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-10-01 Thread Jean-Pierre Flori
Hi, Some remarks and questions... I guess the order you want is 'degrevlex' as Sage's default order for multivariate polynomial ring and as the name of your functions suggest. Am I wrong ? At present, I did not modify a lot of things. A few signs, replaced seq[0] by the smallest item of the sequ

Re: [sage-support] Re: Problem doing symbolic computations (bug in Pynac ?)

2010-10-01 Thread Burcin Erocal
On Fri, 1 Oct 2010 06:52:11 -0700 (PDT) Jean-Pierre Flori wrote: > Some remarks and questions... I replied to this on pynac-devel: http://groups.google.com/group/pynac-devel/msg/f3032856d1ed6953 Cheers, Burcin -- To post to this group, send email to sage-support@googlegroups.com To unsubsc

[sage-support] Re: 3d plotting doesn't work

2010-10-01 Thread Benjamin Parker
Ok...I got it to work. I forgot to install the java plugin for my browser. Running jmol strait from sage still doesn't work, but I'm guessing thats an issue with how I compiled it. On Sep 30, 9:46 pm, Benjamin Parker wrote: > I did try that, and jmol does indeed function correctly. I have no > id

[sage-support] Trying to create a simple Cayley graph

2010-10-01 Thread Rafael
Hello all, The option "simple=True" to create a simple Cayley graph (as opposed to a digraph) does not seem to work for me in sage 4.5.3. A small example follows. What am I doing wrong? sage: c6=CyclicPermutationGroup(6) sage: c6.list() [(), (1,2,3,4,5,6), (1,3,5)(2,4,6),

[sage-support] Concise way of filtering elements of a permutation group

2010-10-01 Thread Rafael
Hi to all, Let us say that "reg" is a permutation group. I want to find the elements of reg that send 12 to 1. Is there a better way to do that (in one step, say) than: sage: def f(x): return x(12)==1 : sage: filter(f,reg.list()) [(1,12)(2,5)(3,4)(6,7)(8,11)(9,10)] ? -- To post to this g

[sage-support] Re: Concise way of filtering elements of a permutation group

2010-10-01 Thread Nils Bruin
On Oct 1, 9:06 pm, Rafael wrote: > Hi to all, > > Let us say that "reg" is a permutation group. I want to find the > elements of reg that send 12 to 1. Is there a better way to do that (in > one step, say) than: > > sage: def f(x): return x(12)==1 > : > sage: filter(f,reg.list()) > [(1,12)(2,5

[sage-support] Re: Concise way of filtering elements of a permutation group

2010-10-01 Thread Nils Bruin
On Oct 1, 9:22 pm, Nils Bruin wrote: > Compute the stabilizer of 12 and compose with (1,12). Sorry, that was too quick. First determine if 1 and 12 are in the same "reg" orbit and select an element h of "reg" that sends 12 to 1. Now determine the stabilizer subgroup of 12 in "reg" and compose with