Macaulay2 » Documentation
Packages » Macaulay2Doc :: Symbol _ Ring
next | previous | forward | backward | up | index | toc

Symbol _ Ring -- get a ring variable by name

Synopsis

Description

i1 : R = ZZ[x,y,z];
i2 : use R;
i3 : S = ZZ[x,t];
i4 : x

o4 = x

o4 : S
The symbol x now refers to the variable x in the ring S. There are various ways of now referring to x in the ring R.
i5 : R_0

o5 = x

o5 : R
i6 : symbol x

o6 = x

o6 : Symbol
i7 : oo_R

o7 = x

o7 : R
i8 : use R;
i9 : x

o9 = x

o9 : R

See also

Ways to use this method: