CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418386
gap> START_TEST("HAP library");
gap> Read(Concatenation(dir,"25spheres.txt"));
gap> Size(M);
499874
gap> A:=ContractibleSubcomplex(M);;
gap> Size(A);
499849
gap> P:=ExcisedPair(M,A);;
gap> Size(P[1]);
353
gap> Size(P[2]);
328
gap> C:=ChainComplexOfPair(P[1],P[2]);;
gap> Homology(C,1);
[ ]
gap> Homology(C,2);
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> STOP_TEST( "tst.tst", 1000 );