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
- References:
- How build a ?TestFuntion that applied to a list gives only the elements that are function of x
- From: "J. Guillermo Sanchez" <guillerm@usal.es>
- How build a ?TestFuntion that applied to a list gives only the elements that are function of x