next | previous | forward | backward | up | top | index | toc | Macaulay2 website
DGAlgebras :: getBasis(ZZ,Ring)

getBasis(ZZ,Ring) -- Get a basis for a degree of a ring.



This function was not meant for general use, but it fixes the first degree in the degree tuple of the ring R, and finds a basis of that 'slice' of the ring. It does this by using a cached version of the ring that forgets all other degrees. A Ring object in Macaulay2 will not have this cached ring by default, but the rings used internally in the DGAlgebras package will.