MathGroup Archive 2006

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

Search the Archive

Re: using answer form reduce

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68652] Re: [mg68616] using answer form reduce
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Mon, 14 Aug 2006 06:44:38 -0400 (EDT)
  • References: <200608130952.FAA06186@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

look up ToRules in the help

In[1]:=
List@ToRules[a\[Equal]1]
Out[1]=
{{a\[Rule]1}}
In[2]:=
List@ToRules[a\[Equal]1||a\[Equal]2]
Out[2]=
{{a\[Rule]1},{a\[Rule]2}}

On 8/13/06, akil <akomur at wanadoo.nl> 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}
>
>
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Hyperlink to *.pdf File
  • Next by Date: Re: Question about DiracDelta
  • Previous by thread: using answer form reduce
  • Next by thread: Re: using answer form reduce