PolynomialQ
Usage
• PolynomialQ[expr, var] 当 多项式在var中,产生True ,否则产生False.
• PolynomialQ[expr,  , ... ] 检验是否 expr 在  中.
Notes
•  不必是符号; PolynomialQ[f[a] + f[a]^2, f[a]]  .
Further Examples
Is the expression a polynomial?
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
Is the expression a polynomial in the variable that is in the second argument?
In[3]:=
|
Out[3]=
|
In[4]:=
|
Out[4]=
|
This expression is not a polynomial over the integers, but it is over the integers modulo .
In[5]:=
|
Out[5]=
|
In[6]:=
|
Out[6]=
|
|