Subset#
- class libcasm.group.Subset(
- self: Subset,
- group: GenericGroup,
- indices: collections.abc.Set[SupportsInt | SupportsIndex] | None = None,
Bases:
pybind11_objectData structure specifying a subset of group elements, as indices, which may or may not form a subgroup.
Constructor
- Parameters:
group (GenericGroup) – The group this subset is part of. Must be the head group.
indices (Optional[list[int]] = None) – Indices of the elements in the group forming the subset. If None, all elements in the group are included.
Methods
Return a list of subgroup generators for each subgroup
Return a list of subgroup orbits
Return all subgroups of this subset
close(…)Extend this subset to be the closure under group multiplication and return the result
Return the generators of the cyclic_subgroups for this subset.
Return a list of cyclic subgroup orbits
Return a list of the unique cyclic subgroups (each as a Subset).
extend(…)Extend this subset by adding indices from other and return the result.
Extend this subset with other then close under multiplication and return the result.
Construct a subset from subgroup generators
Return True if this subset is a proper subset of other.
is_subset_of(…)Return True if this subset is a subset of other (allowing equality).
left_cosets(…)Return a list of left cosets of this subset.
Return the generators of the maximal_cyclic_subgroups for this subset.
Return a list of maximal cyclic subgroup orbits
Return a list of maximal cyclic subgroups (each as a Subset).
Return a minimal set of generators for this subset.
right_cosets(…)Return a list of right cosets of this subset.
Attributes
The head group this subset belongs to.
The indices of elements in the head group that form this subset.
Return True if the subset is an abelian group (a commutative group where a*b == b*a for all a, b in the subset).
Return True if the subset is closed under multiplication and inverses.
Return True if the subset is normal (invariant under conjugation).
Return True if this subset is a simple group