Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/hap/lib/CategoryTheory/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 19.6.2025 mit Größe 1 kB image not shown  

Quelle  commutativeDiagrams.gd   Sprache: unbekannt

 
#(C) 2009 Graham Ellis

#####################################################################
#####################################################################
DeclareCategory("IsHapCommutativeDiagram",IsObject);

DeclareRepresentation(  "IsHapCommutativeDiagramRep",
                        IsComponentObjectRep,
                        ["objects",
    "arrows",
                         "properties"]);

HapCommutativeDiagramFamily:=NewFamily( "HapCommutativeDiagramFamily",
                                 IsHapCommutativeDiagram,
                                 IsHapCommutativeDiagram);

HapCommutativeDiagram:=NewType(HapCommutativeDiagramFamily,IsHapCommutativeDiagramRep);


InstallMethod( ViewObj,
"for HapCommutativeDiagram",
[IsHapCommutativeDiagram],
function(T)
Print("Commutative diagram with ",Size(T!.objects)," objects and ",Size(T!.arrows)," arrows.\n"     );
end);

InstallMethod( PrintObj,
"for HapCommutativeDiagram",
[IsHapCommutativeDiagram],
function(T)
Print("Commutative diagram.\n");
end);


#####################################################################
#####################################################################




[ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet)  ]