MathGroup Archive 2007

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

Search the Archive

Re: Parse results from Solve


Hi,

and

Select[{x, y} /. sols, Not[Equal @@ # ] &]

will not return the pair with x!=y ??

and

Select[{x, y} /. sols, Last[#] > 1 &]

will not return the solutions with y>1

??

Regards
   Jens

nikki_74 wrote:
> I have used the Solve command to get the solutions for a system of equations. However I want to use these solutions in other commands, such as Reduce and Simplify. 
> 
> For instance, say the output of Solve is,
> sols= {{x->0,y->0},{x->1,y->2}}
> 
> and I want all solutions where x!=y , or , all solutions where y>1. 
> 
> Can anybody help with this? Thanks!
> 


  • Prev by Date: Re: Parse results from Solve
  • Next by Date: Re: Problems with simplify and Sqrt[a^2]
  • Previous by thread: Re: Parse results from Solve
  • Next by thread: Re: Parse results from Solve