MathGroup Archive 2004

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

Search the Archive

Re: List of solution


On Mar 18, 2004, at 1:25 AM, Clément wrote:

> Hello MathGroup,
>
> I have resolved an equation. So i have a list of solution like : 
> {{x->0,
> y->0}{x->1, y->0}{x->i, y->1+2i}}
> I want to remove the complex solutions of this list.
> How can i do ?
>
> Thanks
>

Select[{x,y}/.{{x->0,y->0}{x->1, y->0}{x->i, 
y->1+2i}},Im[#[[1]]]==0&&Im[#[[2]]]==0&]

Regards,

Ssezi


  • Prev by Date: Re: Re: Exact real solutions of cubic equations
  • Next by Date: Re: List of solution
  • Previous by thread: List of solution
  • Next by thread: RE: List of solution