A = ensureDGAlgebraCaches AM = ensureDGAlgebraCaches MensureDGAlgebraCaches is idempotent: it creates the cache sub-tables that the rest of the package expects (the homology, homologyAlgebra, and diffs sub-tables for a DG algebra; the diffs sub-table for a DG module), and leaves any that already exist untouched. Code that reads from the cache can call this method once up front and thereafter assume the sub-tables are present with the right types, rather than defensively checking each access.
|
|
|
|
|
|
|
|
|
The object ensureDGAlgebraCaches is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/DGAlgebras/doc.m2:7459:0.