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

MathGroup Archive 2007

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

Search the Archive

Re: How to parse result from Reduce[ ] function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73270] Re: How to parse result from Reduce[ ] function
  • From: Pierre Albarede <pa.news at libre.fr>
  • Date: Fri, 9 Feb 2007 02:22:37 -0500 (EST)
  • References: <eqep0l$5bs$1@smc.vnet.net>

Hi, 

In article <eqep0l$5bs$1 at smc.vnet.net>,
 Anton Vrba <antonvrba at yahoo.com> wrote:
 
> The output of a Reduce[...] function call is
>  
> C[1](element)Integers &&
> x==358537039003+2964364736430689 C[1] &&
> y==28744265823+237656026328741 C[1] &&
> p==205319+1697566324 C[1]
>  
> but I want to use the values  after the p== i.e. 205319 and 1697566324 for 
> further calculation in my program
>  
> How do I obtain these? other than by manual cut and paste.
>  
> Thanks for your help
> best regards
> Anton

Here is a simple example roughly showing how to do:

In[1]:=a&&b&&c

Out[1]=a&&b&&c

In[2]:=Last@Out@1

Out[2]=c

Cheers.


  • Prev by Date: Re: List manipulation
  • Next by Date: Re: List manipulation
  • Previous by thread: Re: How to parse result from Reduce[ ] function
  • Next by thread: Re: How to parse result from Reduce[ ] function