MathGroup Archive 2003

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

Search the Archive

Re: extracting variables from an expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44144] Re: extracting variables from an expression
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 24 Oct 2003 04:24:12 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bn8e5q$ngu$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Cases[x || y || z, _Symbol, Infinity]


Regards
  Jens

Peter Schinko wrote:
> 
> Hi,
> 
> I'm looking for a function that extracts all variables from a boolean
> expression.
> For example:
> x || y || z
> should return something similar to {x, y, z}.
> 
> Is there a similar function in Mathematica? If so, how does it work?
> 
> Thanks very much
> Peter


  • Prev by Date: Re: Integrating over area of intersection
  • Next by Date: Re: Unknown option PlotLegend in Plot
  • Previous by thread: Re: extracting variables from an expression
  • Next by thread: Re: Re: extracting variables from an expression