       Re: How to parse result from Reduce[ ] function

• To: mathgroup at smc.vnet.net
• Subject: [mg73266] Re: How to parse result from Reduce[ ] function
• From: "ben" <benjamin.friedrich at gmail.com>
• Date: Fri, 9 Feb 2007 02:20:32 -0500 (EST)
• References: <eqep0l\$5bs\$1@smc.vnet.net>

```Hi

Your expression is stored as a multi-dimensional list.
Why dont you just assess the corresponding parts in it?

In:=
exp=C\[Epsilon] Integers&&x\[Equal]358537039003+2964364736430689
C&&
y\[Equal]28744265823+237656026328741 C&&p\
[Equal]205319+1697566324 C

Out=
Integers \[Epsilon] C&&x\[Equal]358537039003+2964364736430689
C&&
y\[Equal]28744265823+237656026328741 C&&p\
[Equal]205319+1697566324 C

In:=
exp[[4,2,1]]

Out=
205319

In:=
exp[[4,2,2,1]]

Out=
1697566324

Bye
Ben

On 8 Feb., 10:03, Anton Vrba <antonv... at yahoo.com> wrote:
> Hi,
>
> The output of a Reduce[...] function call is
>
> C(element)Integers &&
> x==358537039003+2964364736430689 C &&
> y==28744265823+237656026328741 C &&
> p==205319+1697566324 C
>
> 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.
>