If the degree d is not given, then d=0 is assumed.
The function f is called only for those indices that represent spots occupied in both the source and target chain complexes.
Caveat
This function does not check that the maps f(i) commute with the differential of the chain complexes.
See also
extend -- extend a module map to a chain map, if possible