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: A question about sort

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48210] Re: A question about sort
  • From: Thomas Burton <tburton at brahea.com>
  • Date: Tue, 18 May 2004 04:16:20 -0400 (EDT)
  • Organization: Brahea Consulting
  • References: <c89q6d$t65$1@smc.vnet.net>
  • Reply-to: tburton at brahea.com
  • Sender: owner-wri-mathgroup at wolfram.com

With[{o = Ordering[values]},
  {values[[o]],vectors[[o]]}
  ]

Tom Burton

On Sun, 16 May 2004 21:38:53 -1000, Daohua  Song wrote
(in article <c89q6d$t65$1 at smc.vnet.net>):

> Hi everyone,
>    When i get the eigenvalues and eigenvectors for a matrix. i want to
> sort the eigenvalues and hope eigenvectors change the positions
> correspondingly.  How to do it ?
>    Thanks
> Song
> 



  • Prev by Date: Re: reviving mathematica afte update to SuSE Linux 9.1
  • Next by Date: Re: A question about sort
  • Previous by thread: A question about sort
  • Next by thread: Re: A question about sort