Macaulay2 » Documentation
Packages » SLPexpressions :: getVarGates
next | previous | forward | backward | up | index | toc

getVarGates -- returns the input gates for variables in a polynomial ring



This methods returns a List of input gates corresponding to variables in the given polynomial $R$, and caches the result in the ring for future use.

i1 : R = QQ[x,y]

o1 = R

o1 : PolynomialRing
i2 : getVarGates R

o2 = {[x], [y]}

o2 : List

See also

Ways to use getVarGates :

For the programmer

The object getVarGates is a method function.