Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I retrieve the variables that appear in a polynomial?

Hello, I'd like to know I can retrieve the list of variables that appear in $g$ in the following example.

A.<x,y> = InfinitePolynomialRing(QQ)
g=x_[0]+x_[1]+y_[0]

Thanks in advance!