Re: [sympy] Re: Permutation documentation question

2021-03-12 Thread Alexander Ness
Hi again, Note also that GAP handles permutations identically to SymPy, and the manual states unambiguously that "GAP multiplies permutations from left to right!": https://college.cengage.com/mathematics/gallian/abstract_algebra/5e/shared/gap/gap_manual.pdf?URL=www.kau.edu.sa (p. 25). Again, th

Re: [sympy] Re: Permutation documentation question

2021-03-12 Thread Alexander Ness
Hi Chris, The convention that I'm familiar with is that the notation (both cycle notation and the two-line notation) represents the exchange of *elements*, not positions. See for example http://www.math.caltech.edu/~2015-16/1term/ma006a/17.%20More%20permutations.pdf pp. 4--5. So my interpretat

Re: [sympy] Re: Permutation documentation question

2021-03-11 Thread Alexander Ness
Hi Chris, Thanks for your response. When you write, > If you let `p = Permutation(1,2)(2,3)` then `p.list()` gives `[0, 3, 1, 2]` which is consistent with R to L interpretation I think this is incorrect (and I contend that the docs are incorrect on this point as well). Multiplying the transposi

[sympy] Permutation documentation question

2021-02-22 Thread Alexander Ness
Hi everyone, I've been experimenting with the "Permutations" module, trying to follow the examples in the documentation here: https://docs.sympy.org/latest/modules/combinatorics/permutations.html As expected, Permutation(1, 2)(2, 3) == Permutation(1, 2) * Permutation(2, 3) But doesn't this me