MathGroup Archive 2005

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

Search the Archive

Re: Free variables in an expression


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