Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

1035658 views
################################################################################
##
##  simpcomp / pkgnohom.gi
##
##  Loaded when `homology' package is not available
##
##  $Id$
##
################################################################################

InstallGlobalFunction(SCHomologyClassic,
	function(complex)

	if(not SCIsPolyhedralComplex(complex)) then
		Info(InfoSimpcomp,1,"SCHomologyClassic: first argument must be of type SCIsPolyhedralComplex.");
		return fail;
	fi;

	if HasSCHomology(complex) then
		return SCHomology(complex);
	fi;

	return SCHomologyInternal(complex);
end);