MathGroup Archive 2008

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

Search the Archive

question about sorting lists

  • To: mathgroup at
  • Subject: [mg90854] question about sorting lists
  • From: Tatyana Polenova <tpolenov at>
  • Date: Sat, 26 Jul 2008 04:22:37 -0400 (EDT)


I have the following numerical list:

{{{x1, x2, x3}, {{x11, x12, x13}, {x21, x22, x23}, {x31, x32, x33}}}

where x1, x2, and x3 are some eigenvalues, and {x11, x12, x13}, {x21,  
x22, x23}, and {x31, x32, x33} are their corresponding eigenvectors.

I need to sort the list so that the eigenvalues are arranged in the  
order of decreasing the absolute value of the difference between any  
of the two eigenvalues. (and that the eigenvectors still correspond to  
the original eigenvalues).

What would be the correct syntax for this operation in Mathematica 5.2?

Thank you very much for your help

  • Prev by Date: Re: Is this a bug?
  • Next by Date: Re: Cos[a x - b] displayed as Cos[b - a x]
  • Previous by thread: Compression (zip) in 5.2?
  • Next by thread: Re: question about sorting lists