Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/walrus/gap/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 21.1.2022 mit Größe 806 B image not shown  

Quellcode-Bibliothek small_pregroups.gd   Sprache: unbekannt

 

#! @Chapter Pregroups

#! @Section Small Pregroups
#! This package contains a small database of pregroups of sizes <M>1</M> to
#! <M>7</M>. The database was computed by Chris Jefferson using the Minion constraint solver.
#! <P/>
#! These small pregroups currently used for testing. Accessing the small
#! pregroups database works as follows.

# The global variable holding the small pregroups.
BindGlobal("ANATPH_small_pregroups", []);

#! @Arguments n
#! @Description
#! Returns the number of pregroups of size <A>n</A> available in the database.
#! @Returns an integer.
DeclareGlobalFunction("NrSmallPregroups");

#! @Arguments n, i
#! @Description
#! Returns the <A>i</A>th pregroup of size <A>n</A> from the database of small pregroups.
#! @Returns a pregroup.
DeclareGlobalFunction("SmallPregroup");

[ 0.23Quellennavigators  Projekt   ]