group(deprecated)
RandElement
find a random element of a given group
Calling Sequence
Parameters
Description
Examples
RandElement(g)
g
-
permgroup or a grelgroup
Important: The group package has been deprecated. Use the superseding command GroupTheory[RandomElement] instead.
This function finds a random element of the group g. A random element of g is returned.
The command with(group,RandElement) allows the use of the abbreviated form of this command.
withgroup:
g≔permgroup5,1,2,3,4,5,2,3,4,5:
e≔RandElementg
e≔1,5,4
groupmembere,g
true
See Also
group[groupmember]
GroupTheory
GroupTheory[RandomElement]
Download Help Document