MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: PolynomialQ ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34886] Re: PolynomialQ ?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 12 Jun 2002 02:15:12 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <ae4en8$9bc$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

you should using FreeQ[] to check if a symbol is in an
expression.

Regards
  Jens

Juan wrote:
> 
> Hi,I tried to check is a polynomial have a variable, ussing the function
> PolynomialQ.
> 
> In[1]:=p = x^3 - 2*x^2 + x - 1;
> In[2]:=PolynomialQ[p, x]
> Out[2]=True
> In[3]:=PolynomialQ[p, y]
> Out[3]=True
> In[4]:=PolynomialQ[p, z^2]
> Out[4]=True
> In[5]:=PolynomialQ[p, {u, v}]
> Out[5]=True
> 
> What is the thing I am doing wrong?
> 
> Regards.Juan
> 
> _________________________________________________________________
> Descargue GRATUITAMENTE MSN Explorer en
> http://explorer.yupimsn.com/intl.asp.


  • Prev by Date: Re: Curl
  • Next by Date: Re: Re: which Linux does Mathematica run on?
  • Previous by thread: Re: PolynomialQ ?
  • Next by thread: Re: PolynomialQ ?