group(deprecated)
groupmember
test if a permutation is in a given group
Calling Sequence
Parameters
Description
Examples
groupmember(perm, pg)
perm
-
the permutation to test
pg
the permutation group
Important: The group package has been deprecated. Use the superseding commands in (membership in a set or list) or member (membership in a data structure, function or module) instead.
The function returns true or false, indicating whether perm is in pg.
The command with(group,groupmember) allows the use of the abbreviated form of this command.
with⁡group:
pg≔permgroup⁡7,1,2,3,3,4,5,6,7:
groupmember⁡1,5,3,6,pg
true
groupmember⁡3,2,4,7,pg
false
See Also
group[permgroup]
GroupTheory
in
member
Download Help Document