MathGroup Archive 2002

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

Search the Archive

RE: How build a ?TestFuntion that applied to a list gives only the elements that are function of x

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33013] RE: [mg32995] How build a ?TestFuntion that applied to a list gives only the elements that are function of x
  • From: "Higinio Ramos" <higra at usal.es>
  • Date: Tue, 26 Feb 2002 04:34:53 -0500 (EST)
  • References: <200202230738.CAA02629@smc.vnet.net>
  • Reply-to: "Higinio Ramos" <higra at usal.es>
  • Sender: owner-wri-mathgroup at wolfram.com

----- Original Message -----
From: J. Guillermo Sanchez <guillerm at usal.es>
To: mathgroup at smc.vnet.net
Subject: [mg33013] [mg32995] How build a ?TestFuntion that applied to a list gives
only the elements that are function of x


>
> How build a ?TestFuntion that applied to a list give only the elements
> that are function of x
>
> Example:
>
> In[]:= {Sin[a x], b x, t, c r}/.?TestFuntion
>
> gives
>
> Out[] = {Sin[a x], b x}
>
> Thanks
>
> Guillermo Sanchez

Tal vez te sirva
In[12]:=Select[{Sin[a x], b x, t, c r}, ! FreeQ[#, x] &]
Out[12]={Sin[a x], b x}

Higinio Ramos



  • Prev by Date: scatter3Dplot_movie
  • Next by Date: RE: Animation in one frame?
  • Previous by thread: Re: How build a ?TestFuntion that applied to a list gives onlythe elements that are function of x
  • Next by thread: Re: How build a ?TestFuntion that applied to a list gives only the elements that are function of x