Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/hap/tst/testveryslow/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 19.6.2025 mit Größe 362 B image not shown  

Quelle  1.3.2.tst   Sprache: unbekannt

 
#E
gap> START_TEST("HAP library");
gap> dir:=Filename(DirectoriesPackageLibrary("HAP","tst/examples"),"image1.3.2.png");;
gap> t:=ReadImageAsPureCubicalComplex(dir,"matrix");;
gap> t:=Int((1/10)*Maximum(Flat(t)));;
gap> M:=ReadImageAsPureCubicalComplex(dir,t);
Pure cubical complex of dimension 2.

gap> BettiNumber(M,0);
20
gap> STOP_TEST( "tst.tst", 1000 );



[ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet)  ]