Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
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
Project: cocalc-sagemath-dev-slelievre
Views: 418384##################################################################### ##################################################################### DeclareCategory("IsHapPureCubicalLink",IsObject); DeclareRepresentation( "IsHapPureCubicalLinkRep", IsComponentObjectRep and IsHapPureCubicalComplex, ["binaryArray", "name", "properties"]); HapPureCubicalLinkFamily:=NewFamily( "HapPureCubicalLinkFamily", IsHapPureCubicalLink, IsHapPureCubicalLink); HapPureCubicalLink:=NewType(HapPureCubicalLinkFamily,IsHapPureCubicalLinkRep); InstallMethod( ViewObj, "for HapPureCubicalLink", [IsHapPureCubicalLink], function(T) if EvaluateProperty(T,"knot") then Print(T!.name,"\n"); else Print("Pure cubical link.\n"); fi; end); InstallMethod( PrintObj, "for HapPureCubicalLink", [IsHapPureCubicalLink], function(T) if EvaluateProperty(T,"knot") then Print(T!.name,"\n"); else Print("Pure cubical link.\n"); fi; end); ##################################################################### #####################################################################