MathGroup Archive 2005

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

Search the Archive

sorting complex number?


Hi, I need some help
  I am trying to sort a list of complext number, say, List={a+b*I, c+d*I};
 and I want a>c and b>d. I know that Sort can do this with a small list of complex numbers, but what I deal with is a list of about 100000 and maybe more, and it doesn't seem to work with the imaginary part when you just Sort[List],
 Does anyone have a small program to do this?
 thank you


  • Prev by Date: Re: Printing - mathematica cropping the right hand side... :(
  • Next by Date: Re: Integration under Mathematica 5.0
  • Previous by thread: Re: Solve question
  • Next by thread: Re: sorting complex number?