# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1227027173 28800
# Node ID fed948c74e49fd888ceebff5c517e38f453a9273
# Parent c1b521ec9db5138354cacc3918e52bc7f1851321
#4531 -- change so perm group gens are canonicalized
diff -r c1b521ec9db5 -r fed948c74e49 tut/tut.tex
a
|
b
|
|
1955 | 1955 | \begin{verbatim} |
1956 | 1956 | sage: G = PermutationGroup(['(1,2,3)(4,5)', '(3,4)']) |
1957 | 1957 | sage: G |
1958 | | Permutation Group with generators [(1,2,3)(4,5), (3,4)] |
| 1958 | Permutation Group with generators [(3,4), (1,2,3)(4,5)] |
1959 | 1959 | sage: G.order() |
1960 | 1960 | 120 |
1961 | 1961 | sage: G.is_abelian() |
… |
… |
|
1968 | 1968 | sage: G.random_element() # random output |
1969 | 1969 | (1,5,3)(2,4) |
1970 | 1970 | sage: print latex(G) |
1971 | | \langle (1,2,3)(4,5), (3,4) \rangle |
| 1971 | \langle (3,4), (1,2,3)(4,5) \rangle |
1972 | 1972 | \end{verbatim} |
1973 | 1973 | |
1974 | 1974 | You can also obtain the character table (in \LaTeX\ format) in \sage: |