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

Quelle  persistentHomology.gi   Sprache: Shell

 

#############################################################################
#0
#O PersistentHomologyOfCrossedModule
## Input: A crossed module X and an integer number n
## Output: The matrix of persistent Betti numbers of X at degree n
##
InstallGlobalFunction(PersistentHomologyOfCrossedModule, function(X,n)
local 
 p,Maps,
 PrimeOne,PrimeTwo,PrimeOneTwo;
    
 PrimeOne:=PrimeDivisors(Size(HomotopyGroup(X,1)));
 PrimeTwo:=PrimeDivisors(Size(HomotopyGroup(X,2)));
 PrimeOneTwo:=Set(Concatenation(PrimeOne,PrimeTwo));
 if Length(PrimeOneTwo) <>1 then
  return fail;
 fi;
 
 p:=PrimeOneTwo[1];
 Maps:=HomotopyLowerCentralSeriesOfCrossedModule(X);
 Maps:=CatOneGroupByCrossedModule(Maps);
 Maps:=NerveOfCatOneGroup(Maps,n+1);
 Maps:=ChainComplexOfSimplicialGroup(Maps);
 Maps:=List(Maps,f->TensorWithIntegersModP(f,p));
 Maps:=List(Maps,f->HomologyVectorSpace(f,n));
 return LinearHomomorphismsPersistenceMat(Maps);
end);
##
################### end of PersistentHomologyOfCrossedModule ################

#############################################################################
#0
#O PersistentHomology
## Input: A crossed module X and an integer number n
## Output: The matrix of persistent Betti numbers of X at degree n
##
InstallOtherMethod(PersistentHomology, "Persistent homology of crossed modules",
[IsHapCrossedModule,IsInt], function(X,n)

 return PersistentHomologyOfCrossedModule(X,n);
end);
##
################### end of PersistentHomology ###############################

#############################################################################
#0
#O PersistentHomology
## Input: A cat-1-group C and an integer number n
## Output: The matrix of persistent Betti numbers of C at degree n
##
InstallOtherMethod(PersistentHomology, "Persistent homology of cat-1-groups",
[IsHapCatOneGroup,IsInt], function(C,n)
local  XC;
 
 XC:= CrossedModuleByCatOneGroup(C);
 return PersistentHomologyOfCrossedModule(XC,n);
end);
##
################### end of PersistentHomology ###############################

Messung
CHZG
8710010095

¤ Dauer der Verarbeitung: 0.14 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.