Macaulay2 » Documentation
Packages » DGAlgebras :: getBasis
next | previous | forward | backward | up | index | toc

getBasis -- Get a basis for a particular homological degree of a DG algebra.

Description

This function is to allow for the retrieval of a basis of a particular homological degree of a DGAlgebra when the underlying algebra A.natural is multigraded. In the code, the homological grading is always the first integer in the degree tuple, and so this function returns a matrix consisting of all monomials in homological degree n.

i1 : R = ZZ/101[a..d, Degrees=>{1,1,1,2}]

o1 = R

o1 : PolynomialRing
i2 : A =  koszulComplexDGA(R)

o2 = {Ring => R                          }
      Underlying algebra => R[T   ..T   ]
                               1,1   1,4
      Differential => {a, b, c, d}

o2 : DGAlgebra
i3 : getBasis(3,A)

o3 = | T_(1,1)T_(1,2)T_(1,3) T_(1,1)T_(1,2)T_(1,4) T_(1,1)T_(1,3)T_(1,4)
     ------------------------------------------------------------------------
     T_(1,2)T_(1,3)T_(1,4) |

                           1                    4
o3 : Matrix (R[T   ..T   ])  <-- (R[T   ..T   ])
                1,1   1,4            1,1   1,4

Ways to use getBasis:

For the programmer

The object getBasis 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:1258:0.