MathGroup Archive 2004

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

Search the Archive

Re: A question about sort


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