next | previous | forward | backward | up | top | index | toc | home

Ring _ String -- 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 several ways of now referring to x in the ring R.
i5 : R_1

o5 = y

o5 : R
i6 : R_"x"

o6 = x

o6 : R
i7 : x_R

o7 = x

o7 : R
i8 : use R;
i9 : x

o9 = x

o9 : R

See also