sorting complex number?
- To: mathgroup at smc.vnet.net
- Subject: [mg57461] sorting complex number?
- From: Sean2 <sshiau2 at wisc.edu>
- Date: Sat, 28 May 2005 05:40:06 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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
- Follow-Ups:
- Re: sorting complex number?
- From: Pratik Desai <pdesai1@umbc.edu>
- Re: sorting complex number?
- From: Chris Chiasson <chris.chiasson@gmail.com>
- Re: sorting complex number?