Re: [sage-support] run SU as_permutation_group has error

2016-06-24 Thread meInvent bbird
succeed to run, after discover double coma, ,, On Friday, June 24, 2016 at 10:51:07 AM UTC+8, meInvent bbird wrote: > > when i run singular for a 28*28 matrix, got error in sage cloud > > > > matrix > > A[28][28]=1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,

Re: [sage-support] run SU as_permutation_group has error

2016-06-24 Thread meInvent bbird
i find G = TransitiveGroup(3,1) G.gens() PermutationMat((1,2,3),3); it is correct but when run degree 2 G = TransitiveGroup(3,2) G.gens() got (1,2),(1,2,3) if see it separately, (1,2,3) is from degree 1 it seems degree 2 need to use both (1,2),(1,2,3) but how to input into permutationmat? P

Re: [sage-support] run SU as_permutation_group has error

2016-06-23 Thread meInvent bbird
when i run singular for a 28*28 matrix, got error in sage cloud > matrix > A[28][28]=1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0

Re: [sage-support] run SU as_permutation_group has error

2016-06-23 Thread meInvent bbird
succeed to run, however, why sage return two different permutation group, which one is correct? or both correct? when using it , should we use any one of them, or use both? gap> PermutationMat((2,3,5)(6,7,8),8); [ [ 1, 0, 0, 0, 0, 0, 0, 0 ], [ 0, 0, 1, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 1, 0, 0, 0

Re: [sage-support] run SU as_permutation_group has error

2016-06-23 Thread Justin C. Walker
On Jun 23, 2016, at 17:56 , meInvent bbird wrote: > I had tried permutation in syntax below, still have error > > PermutationMat((2,3,5)(6,7,8),(1,2,4,7)(3,6,8,5)); > PermutationMat(((2,3,5)(6,7,8),(1,2,4,7)(3,6,8,5))); > PermutationMat((2,3,5)(6,7,8)); > > > gap> PermutationMat((2,3,5)(6,7,8)

Re: [sage-support] run SU as_permutation_group has error

2016-06-23 Thread meInvent bbird
I had tried permutation in syntax below, still have error PermutationMat((2,3,5)(6,7,8),(1,2,4,7)(3,6,8,5)); PermutationMat(((2,3,5)(6,7,8),(1,2,4,7)(3,6,8,5))); PermutationMat((2,3,5)(6,7,8)); gap> PermutationMat((2,3,5)(6,7,8),(1,2,4,7)(3,6,8,5)); Error, usage: PermutationMat( , [, ] ) calle

Re: [sage-support] run SU as_permutation_group has error

2016-06-23 Thread Dima Pasechnik
On Thursday, June 23, 2016 at 8:44:18 AM UTC+1, meInvent bbird wrote: > > when try to use the result of sage and input into gap system in sage > cloud, > got error > > in sage > S3 = SU(3,3); > S3.as_matrix_group().as_permutation_group() > MatrixGroup(S3.gens()) > > in gap > PermutationMat(Grou

Re: [sage-support] run SU as_permutation_group has error

2016-06-23 Thread meInvent bbird
when try to use the result of sage and input into gap system in sage cloud, got error in sage S3 = SU(3,3); S3.as_matrix_group().as_permutation_group() MatrixGroup(S3.gens()) in gap PermutationMat(Group((3,4,6,10,12,18,19,23)(5,8,13,20,17,11,16,7)(9,14,21,15,22,24,26,28)(25,27), (1,2,3,5,9,15,

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread Vincent Delecroix
There is a method `as_permutation_group` implemented in the class FinitelyGeneratedMatrixGroup_gap. However, the class corresponding to SU(3,3) does not inherit from it. sage: from sage.groups.matrix_gps.finitely_generated import FinitelyGeneratedMatrixGroup_gap sage: isinstance(SU(3,3), Fini

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread meInvent bbird
which function is the replacement of it in new function? why it is deprecated in new version? On Thursday, June 23, 2016 at 1:57:21 PM UTC+8, Dima Pasechnik wrote: > > > > On Thursday, June 23, 2016 at 4:12:25 AM UTC+1, meInvent bbird wrote: >> >> i find this page >> >> >> http://combinat.sagem

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread Dima Pasechnik
On Thursday, June 23, 2016 at 4:12:25 AM UTC+1, meInvent bbird wrote: > > i find this page > > > http://combinat.sagemath.org/doc/reference/groups/sage/groups/matrix_gps/matrix_group.html > > it has > as_permutation_group > but here do not have it > > this is for an old Sage version (6.3): http:

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread meInvent bbird
i run in sage is as_matrix_group equivalent to permutation matrix in gap system? i find SU has variable a , which matrix is permutation matrix? i input this result into singular system , it run a very long time for invariant ring. LIB "finvar.lib"; ring R=0,(x,y,z),dp; matrix A[3][3]=2*x,2,1,

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread meInvent bbird
in gap system in sage cloud, for SU is different from transitive group how to run for SU to see permutation matrix ? LoadPackage("sonata"); n:=3;; name := Filename( DirectoryCurrent(), "test" );; output := OutputTextFile( name, true );; for G in SpecialUnitaryGroup( 3, 3 ) do Display(G); Disp

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread meInvent bbird
what is the command to find permutation matrix equivalent to gap command PermutationMat(AsPermGroup(G).1,n,Rationals)) On Thursday, June 23, 2016 at 1:13:23 AM UTC+8, vdelecroix wrote: > > And the error message is crystal clear > > AttributeError: 'UnitaryMatrixGroup_gap_with_category' obje

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread meInvent bbird
i find this page http://combinat.sagemath.org/doc/reference/groups/sage/groups/matrix_gps/matrix_group.html it has as_permutation_group but here do not have it On Thursday, June 23, 2016 at 1:13:23 AM UTC+8, vdelecroix wrote: > > And the error message is crystal clear > > AttributeError:

Re: [sage-support] run SU as_permutation_group has error

2016-06-22 Thread Vincent Delecroix
And the error message is crystal clear AttributeError: 'UnitaryMatrixGroup_gap_with_category' object has no attribute 'as_permutation_group' What do you want to do? On 22/06/16 10:29, meInvent bbird wrote: S3 = SU(3,3); S3.as_matrix_group() S3.as_permutation_group() -- You received t

[sage-support] run SU as_permutation_group has error

2016-06-22 Thread meInvent bbird
S3 = SU(3,3); S3.as_matrix_group() S3.as_permutation_group() -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post t