Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: using answer form reduce

  • To: mathgroup at
  • Subject: [mg68650] Re: [mg68616] using answer form reduce
  • From: "Christoph Lhotka" <lhotka at>
  • Date: Mon, 14 Aug 2006 06:44:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

If I understand well, this will work

In[]:= #[[2]]&/@Cases[Reduce[whatever...,x],x==b_,Infinity]

But to clarify your question it would be good to add an example...

lg cl

On Sun, 13 Aug 2006 05:52:24 -0400 (EDT)
 "akil" <akomur at> wrote:
> After using reduce I get the following two types of answers:
> answer == Real1 || answer == Real2
> or
> answer == Real3
> , the type can change from one formula to another.
> I need the Reals, and put them all in a list. The problem is getting all
> the 
> reals, without knowing which type I deal with, it should be able to be done
> fast.
> I tried making a list of the returned adres, and then using
> Cases[list, _Real, Infinity] and using Select[list,NumericQ] but both do
> not 
> give me the answer I require.
> How can I get the answer I require e.g. something like {Real1,Real2,Real3}

-- Mag. Christoph Lhotka --
University of Vienna / Institute for Astronomy
fon. +43 (1) 4277 51841
mail. lhotka at

  • Prev by Date: Re: Solving integrals
  • Next by Date: Re: ContourPlot and finite approximation to level sets
  • Previous by thread: Re: Re: using answer form reduce
  • Next by thread: Re: using answer form reduce