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.
with⁡group:
g≔permgroup⁡5,1,2,3,4,5,2,3,4,5:
e≔RandElement⁡g
e≔1,5,4
groupmember⁡e,g
true
See Also
group[groupmember]
GroupTheory
GroupTheory[RandomElement]
Download Help Document