Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Free variables in an expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54794] Re: [mg54758] Free variables in an expression
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 2 Mar 2005 01:26:41 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

expr=Log[6x]+y/3-Exp[z]*Pi-3*I;

Cases[expr, _Symbol?(!NumericQ[#]&),Infinity]

{z,y,x}


Bob Hanlon

> 
> From: Sascha Kratky <notvalid at notvalid.com>
To: mathgroup at smc.vnet.net
> Date: 2005/03/01 Tue AM 01:58:13 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg54794] [mg54758] Free variables in an expression
> 
> Is there a Mathematica built-in function that gives a list of free
> (unbound) variables in an arbitrary expression?
> 
> Thanks,
> Sascha
> 
> 


  • Prev by Date: Re: fit and data analisys
  • Next by Date: Re: Re: Bug in Import?
  • Previous by thread: Free variables in an expression
  • Next by thread: Re: Re: Free variables in an expression