Skip to content

Commit 9b7dcf4

Browse files
committed
Change doc of IsPGroup to *not* require finiteness
1 parent 89e30ee commit 9b7dcf4

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

lib/grp.gd

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,18 @@ DeclareOperation( "KnowsHowToDecompose", [ IsGroup, IsList ] );
415415
##
416416
## <Description>
417417
## <Index Key="p-group"><M>p</M>-group</Index>
418-
## A <E><M>p</M>-group</E> is a finite group whose order
419-
## (see&nbsp;<Ref Func="Size"/>) is of the form <M>p^n</M> for a prime
420-
## integer <M>p</M> and a nonnegative integer <M>n</M>.
418+
## A <E><M>p</M>-group</E> is a group in which the order
419+
## (see&nbsp;<Ref Func="Order"/>) of every element is of the form <M>p^n</M>
420+
## for a prime integer <M>p</M> and a nonnegative integer <M>n</M>.
421421
## <Ref Prop="IsPGroup"/> returns <K>true</K> if <A>G</A> is a
422422
## <M>p</M>-group, and <K>false</K> otherwise.
423+
## <P/>
424+
## Finite <M>p</M>-groups are precisely those groups whose order
425+
## (see&nbsp;<Ref Func="Size"/>) is a prime power, and are always
426+
## nilpotent.
427+
## <P/>
428+
## Note that <M>p</M>-groups can also be infinite, and in that case,
429+
## need not be nilpotent.
423430
## </Description>
424431
## </ManSection>
425432
## <#/GAPDoc>

0 commit comments

Comments
 (0)