Macaulay2 » Documentation
Packages » Macaulay2Doc :: complete(ChainComplex)
next | previous | forward | backward | up | index | toc

complete(ChainComplex) -- complete the internal parts



complete C -- fills in the modules of a chain complex obtained as a resolution with information from the engine.

For the sake of efficiency, when a chain complex arises as a resolution of a module, the free modules are not filled in until they are needed. This routine can be used to fill them all in, and is called internally when a chain complex is printed. Normally users will not need this function, unless they use # to obtain the modules of the chain complex, or use keys to see which spots are occupied by modules.
i1 : R = ZZ/101[a..d];
i2 : C = resolution cokernel vars R;
i3 : keys C

o3 = {Resolution, dd, ring, cache}

o3 : List
i4 : complete C;
i5 : keys C

o5 = {0, 1, 2, 3, 4, 5, complete, Resolution, ring, dd, cache}

o5 : List

Ways to use this method: