Synopsis:
R_"x" -- produce the variable of the polynomial ring R whose name is x.
i1 : R = ZZ[x,y,z]; |
i2 : R_"x" |
Eventually we will implement this for monoids, too.
Code:
-- ../../../Macaulay2/m2/enginering.m2:688 Ring _ String := RingElement => (x,s) -> x#s