@@ -91,11 +91,9 @@ InstallValue( Functor_DirectSum_for_graded_modules,
)
);
Functor_DirectSum_for_graded_modules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_DirectSum_for_graded_modules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_DirectSum_for_graded_modules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_DirectSum_for_graded_modules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctor( Functor_DirectSum_for_graded_modules );
@@ -171,11 +169,9 @@ InstallValue( Functor_LinearPart_ForGradedModules,
)
);
Functor_LinearPart_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_LinearPart_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_LinearPart_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_LinearPart_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctor( Functor_LinearPart_ForGradedModules );
@@ -230,11 +226,9 @@ InstallValue( Functor_ProjectionToDirectSummandOfGradedFreeModuleGeneratedByACer
)
);
Functor_ProjectionToDirectSummandOfGradedFreeModuleGeneratedByACertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ProjectionToDirectSummandOfGradedFreeModuleGeneratedByACertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_ProjectionToDirectSummandOfGradedFreeModuleGeneratedByACertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ProjectionToDirectSummandOfGradedFreeModuleGeneratedByACertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctor( Functor_ProjectionToDirectSummandOfGradedFreeModuleGeneratedByACertainDegree_ForGradedModules );
@@ -369,11 +363,9 @@ InstallValue( Functor_GeneralizedLinearStrand_ForGradedModules,
)
);
Functor_GeneralizedLinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_GeneralizedLinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_GeneralizedLinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_GeneralizedLinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctorOnObjects( Functor_GeneralizedLinearStrand_ForGradedModules );
InstallFunctorOnMorphisms( Functor_GeneralizedLinearStrand_ForGradedModules );
@@ -413,11 +405,9 @@ InstallValue( Functor_LinearStrand_ForGradedModules,
)
);
Functor_LinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_LinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_LinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_LinearStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
# InstallFunctor( Functor_LinearStrand_ForGradedModules );
InstallFunctorOnObjects( Functor_LinearStrand_ForGradedModules );
@@ -465,11 +455,9 @@ InstallValue( Functor_ConstantStrand_ForGradedModules,
)
);
Functor_ConstantStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ConstantStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_ConstantStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ConstantStrand_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
# InstallFunctor( Functor_ConstantStrand_ForGradedModules );
InstallFunctorOnObjects( Functor_ConstantStrand_ForGradedModules );
@@ -1201,11 +1189,9 @@ InstallValue( Functor_LinearFreeComplexOverExteriorAlgebraToModule_ForGradedModu
)
);
Functor_LinearFreeComplexOverExteriorAlgebraToModule_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_LinearFreeComplexOverExteriorAlgebraToModule_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_LinearFreeComplexOverExteriorAlgebraToModule_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_LinearFreeComplexOverExteriorAlgebraToModule_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctor( Functor_LinearFreeComplexOverExteriorAlgebraToModule_ForGradedModules );
@@ -1227,6 +1213,13 @@ InstallGlobalFunction( _Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_O
fi ;
return HM;
fi ;
if not IsBound ( M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree ) then
M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree := rec ( );
elif IsBound ( M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree!. (truncation_bound) ) then
HM := Range( M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree!. (truncation_bound) );
return HM;
fi ;
# 0 -> M -> SOUM -> C -> 0
# SOUM is module of global sections
@@ -1261,13 +1254,6 @@ InstallGlobalFunction( _Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_O
fi ;
fi ;
if not IsBound ( M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree ) then
M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree := rec ( );
elif IsBound ( M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree!. (truncation_bound) ) then
HM := Range( M!. NaturalMapToModuleOfGlobalSectionsTruncatedAtCertainDegree!. (truncation_bound) );
return HM;
fi ;
# For free modules or modules with a regularity low enough we get the result
# by just truncating the module
if HasIsFree( UnderlyingModule( M ) ) and IsFree( UnderlyingModule( M ) ) or
@@ -1562,11 +1548,9 @@ InstallValue( Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_ForGradedMo
)
);
Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctor( Functor_ModuleOfGlobalSectionsTruncatedAtCertainDegree_ForGradedModules );
@@ -1630,11 +1614,9 @@ InstallValue( Functor_ModuleOfGlobalSections_ForGradedModules,
)
);
Functor_ModuleOfGlobalSections_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ModuleOfGlobalSections_ForGradedModules!. ContainerForWeakPointersOnComputedBasicObjects := true ;
Functor_ModuleOfGlobalSections_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_ModuleOfGlobalSections_ForGradedModules!. ContainerForWeakPointersOnComputedBasicMorphisms := true ;
InstallFunctor( Functor_ModuleOfGlobalSections_ForGradedModules );
@@ -1765,8 +1747,7 @@ InstallValue( Functor_GuessModuleOfGlobalSectionsFromATateMap_ForGradedMaps,
)
);
Functor_GuessModuleOfGlobalSectionsFromATateMap_ForGradedMaps!. ContainerForWeakPointersOnComputedBasicObjects :=
ContainerForWeakPointers( TheTypeContainerForWeakPointersOnComputedValuesOfFunctor );
Functor_GuessModuleOfGlobalSectionsFromATateMap_ForGradedMaps!. ContainerForWeakPointersOnComputedBasicObjects := true ;
InstallFunctor( Functor_GuessModuleOfGlobalSectionsFromATateMap_ForGradedMaps );