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

## Synopsis

• Usage:
getVarGates R
• Inputs:
• R, ,
• Outputs:
• a list, of input gates for the variables in $R$

## Description

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