Source: http://xmaths.free.fr/revisions/ts/fiches/TScomplexes2.pdf