Re: [sage-support] Re: Permutation actions on vectors

2015-01-13 Thread David Joyner
On Tue, Jan 13, 2015 at 2:18 PM, Sihuang Hu wrote: > Yes, it is related, but not what I want. Are you sure? sage: L = [sorted(sorted(I.orbit(list(x for x in GF(2)^3] sage: set(map(tuple, L)) {([0, 0, 0],), ([0, 0, 1], [0, 1, 0], [1, 0, 0]), ([0, 1, 1], [1, 0, 1], [1, 1, 0]), ([1, 1, 1],)}

[sage-support] Re: Permutation actions on vectors

2015-01-13 Thread Sihuang Hu
Yes, it is related, but not what I want. Thanks. 在 2015年1月13日星期二 UTC+1下午4:45:23,Nathann Cohen写道: > > It would be more natural ro convert it to a matrix group, and then use >> the natural action of this group. > > > This is related: > > > http://www.sagemath.org/doc/reference/combinat/sage/combin

[sage-support] Re: Permutation actions on vectors

2015-01-13 Thread Sihuang Hu
Thanks for your advice. I tried it, but still does not work. sage: F = GF(3); MS = MatrixSpace(F,2,2) sage: gens = [MS([[1,0],[0,1]]),MS([[1,1],[0,1]])] sage: G = MatrixGroup(gens) sage: VS = VectorSpace(F,2) sage: v = VS([1,1]) sage: G.orbit(v) ---

[sage-support] Notebook session and left-behind ssh session

2015-01-13 Thread Jori Mantysalo
I run Sage as sage -c "notebook(secure=true, interface=\"\", port=443, timeout=36000, server_pool=[\"sagecalc@localhost\"])" 2> .../log1 > .../log2 &' Now it seems that there is 6 notebook "running" as seen when logged in as admin. However, on command line ps afx | fgrep sagecalc@localhost

[sage-support] Re: Permutation actions on vectors

2015-01-13 Thread Nathann Cohen
> > It would be more natural ro convert it to a matrix group, and then use > the natural action of this group. This is related: http://www.sagemath.org/doc/reference/combinat/sage/combinat/integer_vectors_mod_permgroup.html Nathann -- You received this message because you are subscribed t

[sage-support] Re: Permutation actions on vectors

2015-01-13 Thread Dima Pasechnik
On 2015-01-13, Sihuang Hu wrote: > Suppose that we have a group G=Sym(3). Then G naturally act on the vector > space > V=VectorSpace(GF(2),3) by position. Now I want to compute the orbits of G > acting on > V. It is easy to see that the orbits are > [ [(0,0,0)], > [(1,0,0),(0,1,0),(0,0,1)], >

[sage-support] Permutation actions on vectors

2015-01-13 Thread Sihuang Hu
Suppose that we have a group G=Sym(3). Then G naturally act on the vector space V=VectorSpace(GF(2),3) by position. Now I want to compute the orbits of G acting on V. It is easy to see that the orbits are [ [(0,0,0)], [(1,0,0),(0,1,0),(0,0,1)], [(1,1,0),(1,0,1),(0,1,1)], [(1,1,1)], ]. I ca

[sage-support] Error in Building Sage (particularly ecm-6.4)

2015-01-13 Thread Shadab Zafar
I am trying to build Sage from the current master branch but it errors in installing ecm. The ending part of the log is: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/home/dufferzafar/dev/sage/local/include -I/home/dufferzafar/dev/sage/local/include -march=native -g -O3 -fPIC -MT l

[sage-support] Finite rings of given size

2015-01-13 Thread Jori Mantysalo
Wikipedia says "If m is the square of a prime, for instance, there are precisely eleven rings having order m." Is there a way to generate those in Sage, say for example all rings of size 9? Or in general to compute, say, rings of size 6 with unit? -- Jori Mäntysalo