Cohomology(X,n)
Inputs either a cochain complex X=C (or Gcocomplex C) or a cochain map X=(C ⟶ D) in characteristic p together with a nonnegative intereg n.
A Gcocomplex C can also be input. The cohomology groups of such a complex may not be abelian. Warning: in this case Cohomology(C,n) returns the abelian invariants of the nth cohomology group of C. 
CohomologyModule(C,n)
Inputs a Gcocomplex C together with a nonnegative integer n. It returns the cohomology H^n(C) as a Gouter group. If C was constructed from a resolution R by homing to an abelian Gouter group A then, for each x in H:=CohomologyModule(C,n), there is a function f:=H!.representativeCocycle(x) which is a standard ncocycle corresponding to the cohomology class x. (At present this works only for n=1,2,3.) 
CohomologyPrimePart(C,n,p)
Inputs a cochain complex C in characteristic 0, a positive integer n, and a prime p. It returns a list of those torsion coefficients of H^n(C) that are positive powers of p. The function uses the EDIM package by Frank Luebeck. 
GroupCohomology(X,n) GroupCohomology(X,n,p)
Inputs a positive integer n and either
It returns the torsion coefficients of the integral cohomology H^n(G,Z). There is an optional third argument which, when set equal to a prime p, causes the function to return the the mod p cohomology H^n(G,Z_p) as a list of length equal to its rank. This function is a composite of more basic functions, and makes choices for a number of parameters. For a particular group you would almost certainly be better using the more basic functions and making the choices yourself! 
GroupHomology(X,n) GroupHomology(X,n,p)
Inputs a positive integer n and either
It returns the torsion coefficients of the integral homology H_n(G,Z). There is an optional third argument which, when set equal to a prime p, causes the function to return the mod p homology H_n(G,Z_p) as a list of lenth equal to its rank. This function is a composite of more basic functions, and makes choices for a number of parameters. For a particular group you would almost certainly be better using the more basic functions and making the choices yourself! 
PersistentHomologyOfQuotientGroupSeries(S,n) PersistentHomologyOfQuotientGroupSeries(S,n,p,Resolution_Algorithm)
Inputs a positive integer n and a decreasing chain S=[S_1, S_2, ..., S_k] of normal subgroups in a finite pgroup G=S_1. It returns the bar code of the persistent mod p homology in degree n of the sequence of quotient homomorphisms G → G/S_k → G/S_k1 → ... → G/S_2. The bar code is returned as a matrix containing the dimensions of the images of the induced homology maps. If one sets p=0 then the integral persitent homology bar code is returned. This is a matrix whose entries are pairs of the lists: the list of abelian invariants of the images of the induced homology maps and the cokernels of the induced homology maps. (The matrix probably does not uniquely determine the induced homology maps.) Non primepower (and possibly infinite) groups G can also be handled; in this case the prime must be entered as a third argument, and the resolution algorithm (e.g. ResolutionNilpotentGroup) can be entered as a fourth argument. (The default algorithm is ResolutionFiniteGroup, so this must be changed for infinite groups.) 
PersistentCohomologyOfQuotientGroupSeries(S,n) PersistentCohomologyOfQuotientGroupSeries(S,n,p,Resolution_Algorithm)
Inputs a positive integer n and a decreasing chain S=[S_1, S_2, ..., S_k] of normal subgroups in a finite pgroup G=S_1. It returns the bar code of the persistent mod p cohomology in degree n of the sequence of quotient homomorphisms G → G/S_k → G/S_k1 → ... → G/S_2. The bar code is returned as a matrix containing the dimensions of the images of the induced homology maps. If one sets p=0 then the integral persitent cohomology bar code is returned. This is a matrix whose entries are pairs of the lists: the list of abelian invariants of the images of the induced cohomology maps and the cokernels of the induced cohomology maps. (The matrix probably does not uniquely determine the induced homology maps.) Non primepower (and possibly infinite) groups G can also be handled; in this case the prime must be entered as a third argument, and the resolution algorithm (e.g. ResolutionNilpotentGroup) can be entered as a fourth argument. (The default algorithm is ResolutionFiniteGroup, so this must be changed for infinite groups.) (The implementation is possibly a little less efficient than that of the corresponding persistent homology function.) 
UniversalBarCode("UpperCentralSeries",n,d) UniversalBarCode("UpperCentralSeries",n,d,k)
Inputs integers n,d that identify a prime power group G=SmallGroup(n,d), together with one of the strings "UpperCentralSeries", LowerCentralSeries", "DerivedSeries", "UpperPCentralSeries", "LowerPCentralSeries". The function returns a matrix of rational functions; the coefficients of x^k in their expansions yield the persistence matrix for the degree k homology with trivial mod p coefficients associated to the quotients of G by the terms of the given series. If the additional integer argument k is supplied then the function returns the degree k homology persistence matrix. 
PersistentHomologyOfSubGroupSeries(S,n) PersistentHomologyOfSubGroupSeries(S,n,p,Resolution_Algorithm)
Inputs a positive integer n and a decreasing chain S=[S_1, S_2, ..., S_k] of subgroups in a finite pgroup G=S_1. It returns the bar code of the persistent mod p homology in degree n of the sequence of inclusion homomorphisms S_k → S_k1 → ... → S_1=G. The bar code is returned as a binary matrix. Non primepower (and possibly infinite) groups G can also be handled; in this case the prime must be entered as a third argument, and the resolution algorithm (e.g. ResolutionNilpotentGroup) must be entered as a fourth argument. 
PersistentHomologyOfFilteredChainComplex(C,n,p)
Inputs a filtered chain complex C (of characteristic 0 or p) together with a positive integer n and prime p. It returns the bar code of the persistent mod p homology in degree n of the filtered chain complex C. (This function needs a more efficient implementation. Its fine as it stands for investigation in group homology, but not sufficiently efficient for the homology of large complexes arising in applied topology.) 
PersistentHomologyOfCommutativeDiagramOfPGroups(D,n)
Inputs a commutative diagram D of finite pgroups and a positive integer n. It returns a list containing, for each homomorphism in the nerve of D, a triple [k,l,m] where k is the dimension of the source of the induced mod p homology map in degree n, l is the dimension of the image, and m is the dimension of the cokernel. 
PersistentHomologyOfFilteredPureCubicalComplex(M,n)
Inputs a filtered pure cubical complex M and a nonnegative integer n. It returns the degree n persistent homology of M with rational coefficients. 
PersistentHomologyOfPureCubicalComplex(L,n,p)
Inputs a positive integer n, a prime p and an increasing chain L=[L_1, L_2, ..., L_k] of subcomplexes in a pure cubical complex L_k. It returns the bar code of the persistent mod p homology in degree n of the sequence of inclusion maps. The bar code is returned as a matrix. (This function is extremely inefficient and it is better to use PersistentHomologyOFilteredfPureCubicalComplex. 
ZZPersistentHomologyOfPureCubicalComplex(L,n,p)
Inputs a positive integer n, a prime p and any sequence L=[L_1, L_2, ..., L_k] of subcomplexes of some pure cubical complex. It returns the bar code of the zigzag persistent mod p homology in degree n of the sequence of maps L_1 → L_1 ∪ L_2 ← L_2 → L_2 ∪ L_3 ← L_4 → ... ← L_k. The bar code is returned as a matrix. 
RipsHomology(G,n) RipsHomology(G,n,p)
Inputs a graph G, a nonnegative integer n (and optionally a prime number p). It returns the integral homology (or mod p homology) in degree n of the Rips complex of G. 
BarCode(P)
Inputs an integer persistence matrix P and returns the same information in the form of a binary matrix (corresponding to the usual bar code). 
BarCodeDisplay(P) BarCodeDisplay(P,"mozilla") BarCodeCompactDisplay(P) BarCodeCompactDisplay(P,"mozilla")
Inputs an integer persistence matrix P, and an optional string specifying a viewer/browser. It displays a picture of the bar code (using GraphViz software). The compact display is better for large bar codes. 
Homology(X,n)
Inputs either a chain complex X=C or a chain map X=(C ⟶ D).
A Gcomplex C can also be input. The homology groups of such a complex may not be abelian. Warning: in this case Homology(C,n) returns the abelian invariants of the nth homology group of C. 
HomologyPb(C,n)
This is a backup function which might work in some instances where Homology(C,n) fails. It is most useful for chain complexes whose boundary homomorphisms are sparse. It inputs a chain complex C in characteristic 0 and returns the torsion coefficients of H_n(C) . There is a small probability that an incorrect answer could be returned. The computation relies on probabilistic Smith Normal Form algorithms implemented in the Simplicial Homology GAP package. This package therefore needs to be loaded. The computation is stored as a component of C so, when called a second time for a given C and n, the calculation is recalled without rerunning the algorithm. The choice of probabalistic algorithm can be changed using the command SetHomologyAlgorithm(HomologyAlgorithm[i]); where i = 1,2,3 or 4. The upper limit for the probability of an incorrect answer can be set to any rational number 0<e<= 1 using the following command. SetUncertaintyTolerence(e); See the Simplicial Homology package manual for further details. 
HomologyVectorSpace(X,n)
Inputs either a chain complex X=C or a chain map X=(C ⟶ D) in prime characteristic.

HomologyPrimePart(C,n,p)
Inputs a chain complex C in characteristic 0, a positive integer n, and a prime p. It returns a list of those torsion coefficients of H_n(C) that are positive powers of p. The function uses the EDIM GAP package by Frank Luebeck. 
LeibnizAlgebraHomology(A,n)
Inputs a Lie or Leibniz algebra X=A (over the ring of integers Z or over a field K), together with a positive integer n. It returns the ndimensional Leibniz homology of A. 
LieAlgebraHomology(A,n)
Inputs a Lie algebra A (over the integers or a field) and a positive integer n. It returns the homology H_n(A,k) where k denotes the ground ring. 
PrimePartDerivedFunctor(G,R,F,n)
Inputs a finite group G, a positive integer n, at least n+1 terms of a ZPresolution for a Sylow subgroup P<G and a "mathematically suitable" covariant additive functor F such as TensorWithIntegers . It returns the abelian invariants of the pcomponent of the homology H_n(F(R)) . Warning: All calculations are assumed to be in characteristic 0. The function should not be used if the coefficient module is over the field of p elements. "Mathematically suitable" means that the CartanEilenberg double coset formula must hold. 
RankHomologyPGroup(G,n) RankHomologyPGroup(R,n) RankHomologyPGroup(G,n,"empirical")
Inputs a (smallish) pgroup G, or n terms of a minimal Z_pGresolution R of Z_p , together with a positive integer n. It returns the minimal number of generators of the integral homology group H_n(G,Z). If an option third string argument "empirical" is included then an empirical algorithm will be used. This is one which always seems to yield the right answer but which we can't prove yields the correct answer. 
RankPrimeHomology(G,n)
Inputs a (smallish) pgroup G together with a positive integer n. It returns a function dim(k) which gives the rank of the vector space H_k(G,Z_p) for all 0 <= k <= n. 
generated by GAPDoc2HTML