Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/lins/tst/files/tables/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 15.2.2024 mit Größe 549 B image not shown  

Quelle  targetsQuotientUseLIS.tst   Sprache: unbekannt

 

gap> ReadPackage("LINS", "tst/gap/Tables/quotient.g");;
gap> n := 10000;;
gap> targets := targetsQuotient(LINS_TargetsQuotient_UseLIS, n);;

# Normal Table Computation
gap> targets2 := LINS_CreateTargetsQuotient(1, n, true);;
gap> targets = targets2;
true

# Parallelized Table Computation
gap> targetsList := [];;
gap> m := 10;;
gap> for k in [1 .. m] do
>      Add(targetsList, LINS_CreateTargetsQuotient(n/m * (k - 1), n/m * k, true));;
>    od;;
gap> targets3 := Concatenation(targetsList);;
gap> Sort(targets3);;
gap> targets = targets3;
true

[ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet)  ]