D = complex C
Both ChainComplex and Complex are Macaulay2 types that implement chain complexes of modules over rings. The plan is to replace ChainComplex with this new type. Before this happens, this function allows interoperability between these types.
The first example is the minimal free resolution of the twisted cubic curve.
|
|
|
|
|
|
|
In the following example, note that a different choice of sign is chosen in the new Complexes package.
|
|
|
|
|
|
This is a temporary method to allow comparisons among the data types, and will be removed once the older data structure is replaced