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

MathGroup Archive 2004

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

Search the Archive

Re: List of solution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46990] Re: List of solution
  • From: astanoff at yahoo.fr (astanoff)
  • Date: Fri, 19 Mar 2004 01:35:40 -0500 (EST)
  • References: <c3bqms$f1o$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Florian Jaccard wrote:

> Hello !

> C'est très simple :

> In[4]:=
> liste = {{x -> 0, y -> 0}, {x -> 1, y -> 0},
>    {x -> I, y -> 1 + 2*I}}

> Out[4]=
> {{x -> 0, y -> 0}, {x -> 1, y -> 0},
>   {x -> I, y -> 1 + 2*I}}

> In[5]:=
> DeleteCases[liste, {x -> xx_, y -> yy_} /;
>    Im[xx] != 0 || Im[yy] != 0]

> Out[5]=
> {{x -> 0, y -> 0}, {x -> 1, y -> 0}}


The case with 3 real roots Solve[x^3 - 10x + 1 == 0] doesn't seem to work 
fine...


--
0% de pub! Que du bonheur et des vrais adhérents !
Vous aussi inscrivez-vous sans plus tarder!!
Message posté à partir de http://www.gyptis.org, BBS actif depuis 1995.




  • Prev by Date: RE: interpolation
  • Next by Date: Re: How to get non-printing heads?
  • Previous by thread: Re: List of solution
  • Next by thread: Re: List of solution