B = truncateGenerators(A, n)Computes keepIdx as select(0 .. #A.Degrees - 1, i -> first A.Degrees#i > n) and delegates to subDGAlgebra. As with subDGAlgebra, the subset must be d-closed; if the differential of a generator T_i of hom-degree > n uses a generator of hom-degree <= n that would be dropped, an error is raised.
|
|
|
|
The Koszul algebra has all generators in hom-degree 1 so truncating below degree 0 is a no-op in this case.
The object truncateGenerators is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/DGAlgebras/doc.m2:6669:0.