Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Re: sorting complex number?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57484] Re: [mg57461] sorting complex number?
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Sun, 29 May 2005 01:03:46 -0400 (EDT)
  • References: <200505280940.FAA21775@smc.vnet.net>
  • Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Like you said, it seems to work with a small list. Is your large list
symbolic or numeric?

On 5/28/05, Sean2 <sshiau2 at wisc.edu> wrote:
> 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
> 
> 


-- 
Chris Chiasson
http://chrischiasson.com/
1 (810) 265-3161


  • Prev by Date: Re: Applying a list of functions to a list of arguments
  • Next by Date: Re: sorting complex number?
  • Previous by thread: sorting complex number?
  • Next by thread: Re: sorting complex number?