Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 5 years ago

mcmug gravatar image

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!