|  |  D.12.8.2 whichvariable Procedure from libraryrootsur.lib(see  rootsur_lib).
 
Example:Usage:
whichvariable(p); poly p
Return:
poly: if p is a univariate monomial, the variable. Otherwise 0.
Assume:
p is a monomial
 See also:
 isuni.|  | LIB "rootsur.lib";
ring r = 0,(x,y),dp;
whichvariable(x5);
==> x
whichvariable(x3y);
==> 0
 | 
 
 |