Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/semigroups/tst/standard/elements/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 29.7.2025 mit Größe 933 B image not shown  

Quelle  pperm.tst   Sprache: unbekannt

 
#############################################################################
##
##  standard/elements/pperm.tst
#Y  Copyright (C) 2017-2022                                 Wilf A. Wilson
##
##  Licensing information can be found in the README file of this package.
##
#############################################################################
##

#@local x
gap> START_TEST("Semigroups package: standard/elements/pperm.tst");
gap> LoadPackage("semigroups", false);;

#
gap> SEMIGROUPS.StartTest();

# pperm: CyclesOfPartialPerm
gap> x := PartialPerm([14, 4, 13, 2, 6, 0, 0, 0, 10, 0, 3, 0, 1, 12]);
[5,6][9,10][11,3,13,1,14,12](2,4)
gap> CyclesOfPartialPerm(x);
[ [ 2, 4 ] ]


gap> x := PartialPerm([14, 4, 13, 2, 6, 0, 0, 0, 10, 0, 3, 0, 1, 12]);
[5,6][9,10][11,3,13,1,14,12](2,4)
gap> IndexPeriodOfSemigroupElement(x);
[ 6, 2 ]

#
gap> SEMIGROUPS.StopTest();
gap> STOP_TEST("Semigroups package: standard/elements/pperm.tst");

[ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet)  ]