-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: add operation DirectProductFamily
This declares the new operation DirectProductFamily and installs a method for it. The new method is also added to `hpcgap/lib/tuples.gi`. Also adds documentation and tests. In the reference manual, the section "IsDirectProductElement (Filter)" is renamed into "Direct Products and their Elements" to also accomodate the documentation of DirectProductFamily and future categories and operations. UnderlyingRelation is adapted to use the new method, which makes it easier to read.
- Loading branch information
Showing
6 changed files
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
gap> START_TEST("tuples.tst"); | ||
gap> D8 := DihedralGroup(IsPermGroup, 8);; | ||
gap> fam := FamilyObj(D8); | ||
<Family: "CollectionsFamily(...)"> | ||
gap> ElementsFamily(fam); | ||
<Family: "PermutationsFamily"> | ||
gap> dpf := DirectProductFamily([fam, fam]); | ||
<Family: "CollectionsFamily(...)"> | ||
gap> IsDirectProductElementFamily(ElementsFamily(dpf)); | ||
true | ||
|
||
# | ||
gap> STOP_TEST("tuples.tst"); |