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: 418346
gap> START_TEST("HAP library");
gap> G:=SpaceGroup(4,1886);;
gap> R:=ResolutionBieberbachGroup(G);;
gap> C:=TensorWithIntegers(R);;
gap> Homology(C,0);
[ 0 ]
gap> Homology(C,1);
[ 2, 0 ]
gap> Homology(C,2);
[ 2 ]
gap> Homology(C,3);
[ 0 ]
gap> Homology(C,4);
[ 0 ]
gap> STOP_TEST( "tst.tst", 1000 );