GroupElements[group]
返回 group 的所有元素列表.
GroupElements[group,{r1,…,rk}]
以标准顺序返回 group 中编号为 r1,…,rk 的元素.
GroupElements
GroupElements[group]
返回 group 的所有元素列表.
GroupElements[group,{r1,…,rk}]
以标准顺序返回 group 中编号为 r1,…,rk 的元素.
更多信息和选项
- 置换群的元素是通过构建该群的强生成集表示求得的.
- 由 GroupElements 返回的元素顺序基于强生成集的基. 可以通过设置 GroupActionBase->{p1,p2,…},选择一个显式的基.
- 对所选择的任何群基,GroupElements[group,{1}] 都给出单位元.
- 负位置表示从末端开始计数.
范例
打开所有单元 关闭所有单元基本范例 (3)
GroupElements[PermutationGroup[{Cycles[{{1, 9, 6}, {3, 7}}]}]]GroupElements[PermutationGroup[{Cycles[{{1, 9, 6}, {3, 7}}]}], {1, 2, 3}]GroupElements[PermutationGroup[{Cycles[{{1, 9, 6}, {3, 7}}]}], {-1}]范围 (2)
perm1 = Cycles[{{1, 5, 3, 12, 8, 4, 16, 11, 7, 2, 20, 10, 6}, {9, 15, 17, 14, 19, 18, 13}}];
perm2 = Cycles[{{1, 4}, {2, 5, 3}}];
group = PermutationGroup[{perm1, perm2}];GroupOrder[group]GroupElements[group, Range[10]]PermutationReplace[Range[20], %]//ColumnGroupElements[PermutationGroup[{Cycles[{{1, 2, 3}}], Cycles[{{2, 3, 4}}], Cycles[{{3, 4, 5}}], Cycles[{{4, 5, 6}}]}]] === GroupElements[AlternatingGroup[6]]选项 (1)
GroupActionBase (1)
group = PermutationGroup[{Cycles[{{1, 2}}], Cycles[{{1, 2, 3, 4, 5}}]}]standardS5 = GroupElements[SymmetricGroup[5]];GroupElements[group] === standardS5perms = GroupElements[group, GroupActionBase -> {5, 3, 4, 1, 2}];perms === standardS5Sort[perms, Less] === standardS5g = FindPermutation[{1, 2, 3, 4, 5}, {5, 3, 4, 1, 2}]PermutationReplace[perms, g] === standardS5应用 (1)
我们可以通过生成均匀的秩,然后构建置换来在一个群中生成均匀分布的随机置换:
group = PermutationGroup[{Cycles[{{1, 25, 5, 3, 12, 23, 24, 8, 4, 16, 11, 26, 7, 2, 20, 22, 10, 6}, {9, 15, 21, 27, 17, 14, 19, 18, 13}}], Cycles[{{1, 4}, {2, 5, 3}}]}];order = GroupOrder[group]SeedRandom[100];RandomInteger[order, 5]GroupElements[group, %]属性和关系 (1)
group = PermutationGroup[{Cycles[{{1, 25, 5, 3, 12, 23, 24, 8, 4, 16, 11, 26, 7, 2, 20, 22, 10, 6}, {9, 15, 21, 27, 17, 14, 19, 18, 13}}], Cycles[{{1, 4}, {2, 5, 3}}]}];order = GroupOrder[group]27! / orderSeedRandom[200];positions = RandomInteger[order, 5]GroupElements[group, positions]GroupElementPosition[group, %]% === positions可能存在的问题 (3)
GroupElements[PermutationGroup[{Cycles[{{1, 2, 3, 4}}], Cycles[{{1, 2}}]}], {0}]GroupElements[PermutationGroup[{Cycles[{{1, 2, 3, 4}}], Cycles[{{1, 2}}]}], {30}]置换根据像排序,而不是根据 Wolfram 语言的标准顺序:
perms = GroupElements[AlternatingGroup[4]]Sort[perms] === permsSort[perms, Less] === perms巧妙范例 (1)
GroupGenerators[MathieuGroupM24[]]GroupOrder[MathieuGroupM24[]]chain = GroupStabilizerChain[MathieuGroupM24[]];SGS = chain[[1, 2]]base = chain[[-1, 1]]GroupOrder[subgroup = PermutationGroup[GroupGenerators[SGS][[{1, 5}]]]]Length[perms = GroupElements[subgroup, GroupActionBase -> {1, 4, 2, 3, 7, 6, 5}]]inM24 = GroupElementPosition[MathieuGroupM24[], perms];ListPlot[inM24, Frame -> True]Length[perms = GroupElements[subgroup, GroupActionBase -> {6, 1, 7, 2, 5, 3, 4}]]inM24 = GroupElementPosition[MathieuGroupM24[], perms];ListPlot[inM24, Frame -> True]Length[perms = GroupElements[subgroup]]inM24 = GroupElementPosition[MathieuGroupM24[], perms];ListPlot[inM24, Frame -> True]文本
Wolfram Research (2010),GroupElements,Wolfram 语言函数,https://reference.wolfram.com/language/ref/GroupElements.html.
CMS
Wolfram 语言. 2010. "GroupElements." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/GroupElements.html.
APA
Wolfram 语言. (2010). GroupElements. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/GroupElements.html 年
BibTeX
@misc{reference.wolfram_2026_groupelements, author="Wolfram Research", title="{GroupElements}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/GroupElements.html}", note=[Accessed: 08-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_groupelements, organization={Wolfram Research}, title={GroupElements}, year={2010}, url={https://reference.wolfram.com/language/ref/GroupElements.html}, note=[Accessed: 08-November-2026]}