Question: How to use the select command?

[Here's the original Question, restored as best I could.--Carl Love]


restart; with(GroupTheory)

``

d := Perm([[1, 2, 3, 4, 5]]);

Perm([[1, 2, 3, 4, 5]])

 

Perm([[1, 3], [4, 6], [5, 7]])

(1)

G := PermutationGroup({d, e});

GroupTheory:-PermutationGroup({thismodule, object}, )

(2)

H := Elements(G):

"A:=select(H[i]->PermOrder(H[i])=4,i=1..nops(H));"

Error, invalid operator parameter name

"A:=select(H[i]->PermOrder(H[i])=4,i=1..nops(H));"

 

 

 

``

``


[The question was, of course, How to avoid the error?--Carl Love]

Download subgrouplattice_(1).mw

Please Wait...