group(deprecated)/groupmember - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : group(deprecated)/groupmember

group(deprecated)

  

groupmember

  

test if a permutation is in a given group

 

Calling Sequence

Parameters

Description

Examples

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.

withgroup:

pgpermgroup7,1,2,3,3,4,5,6,7:

groupmember1,5,3,6,pg

true

(1)

groupmember3,2,4,7,pg

false

(2)

See Also

group[permgroup]

GroupTheory

in

member