Macaulay2 » Documentation
Packages » Macaulay2Doc :: globalAssignment
next | previous | forward | backward | up | index | toc

globalAssignment -- install standard global assignment method

Synopsis

Description

One type for which this has been done is Ring, as illustrated in the following example.
i1 : S := QQ[x]

o1 = QQ[x]

o1 : PolynomialRing
i2 : S

o2 = QQ[x]

o2 : PolynomialRing
i3 : S^3

            3
o3 = (QQ[x])

o3 : QQ[x]-module, free
i4 : R = S

o4 = R

o4 : PolynomialRing
i5 : S

o5 = R

o5 : PolynomialRing
i6 : S^3

      3
o6 = R

o6 : R-module, free

For the programmer

The object globalAssignment is a function closure.