[sage-devel] Re: Permutation vs PermutationGroupElement

2008-02-12 Thread David Kohel
Hi Mike, Thanks for the explanation. Indeed a Permutation could be represented by an element of a symmetric group, but we would want to make sure that until a group-theoretic question is asked, no call to GAP should interfere with the calculations. Your: sage: G = Permutations(3) would be ana

[sage-devel] Re: Permutation vs PermutationGroupElement

2008-02-11 Thread Robert Bradshaw
On Feb 11, 2008, at 1:18 PM, Mike Hansen wrote: > Hello, > > The main reason there is a split now between PermutationGroup and > Permutations is that they're concerned with different things which > happen share some commonality. For example, > > sage: Permutations(3, 2).list() > [[1, 2], [1, 3],

[sage-devel] Re: Permutation vs PermutationGroupElement

2008-02-11 Thread Mike Hansen
Hello, The main reason there is a split now between PermutationGroup and Permutations is that they're concerned with different things which happen share some commonality. For example, sage: Permutations(3, 2).list() [[1, 2], [1, 3], [2, 1], [2, 3], [3, 1], [3, 2]] sage: Permutations([1,1,2,2]).