group(deprecated)/groupmember - Maple Help

group(deprecated)

 groupmember
 test if a permutation is in a given group

 Calling Sequence groupmember(perm, pg)

Parameters

 perm - the permutation to test pg - the permutation group

Description

 • 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.

Examples

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.

 > $\mathrm{with}\left(\mathrm{group}\right):$
 > $\mathrm{pg}≔\mathrm{permgroup}\left(7,\left\{\left[\left[1,2,3\right]\right],\left[\left[3,4,5,6,7\right]\right]\right\}\right):$
 > $\mathrm{groupmember}\left(\left[\left[1,5\right],\left[3,6\right]\right],\mathrm{pg}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{groupmember}\left(\left[\left[3,2,4,7\right]\right],\mathrm{pg}\right)$
 ${\mathrm{false}}$ (2)