homology(Delta, Gamma)
This method computes the relative homology of a simplicial complex $\Delta$ contracted along a subcomplex $\Gamma$.
Contracting an edge of a hexagon will not change the homology.
|
|
|
|
|
|
Gluing two antipodal points on a sphere introduces a non-trivial loop.
|
|
|
|
|
This method assumes that $\Gamma$ is a subcomplex of $\Delta$ and does not even check that the two abstract simplicial complexes are defined over the same ring.
This method does not check if $\Gamma$ is contained in $\Delta$.