<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Sorting and assigning eigenvalues by magnitude or absolute</title>
    <link>http://www.mapleprimes.com/questions/144496-Sorting-And-Assigning-Eigenvalues-By</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 02:45:16 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 02:45:16 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Sorting and assigning eigenvalues by magnitude or absolute</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Sorting and assigning eigenvalues by magnitude or absolute</title>
      <link>http://www.mapleprimes.com/questions/144496-Sorting-And-Assigning-Eigenvalues-By</link>
    </image>
    <item>
      <title>Sorted list of eigenvalues</title>
      <link>http://www.mapleprimes.com/questions/144496-Sorting-And-Assigning-Eigenvalues-By?ref=Feed:MaplePrimes:Sorting and assigning eigenvalues by magnitude or absolute:Comments#answer144500</link>
      <itunes:summary>&lt;p&gt;Use the output=list option to calculate the eigenvalues and eigenvectors&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;with(LinearAlgebra):&lt;br&gt;A := evalf(RandomMatrix(5,generator=rand(-2..5)));&lt;br&gt;eig := Eigenvectors(A, output=list);&lt;br&gt;s := sort( eig, (x,y)-&amp;gt;abs(x[1])&amp;lt;abs(y[1]) );&lt;br&gt;S := s[1..5,1]; # Sorted list of eigenvalues&lt;br&gt;V := Matrix( op~(s[1..5,3]) ); # the matrix of eigenvectors&lt;/pre&gt;
&lt;p&gt;Now you can get the ordered eigenvalues by S[1], S[2], etc.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Use the output=list option to calculate the eigenvalues and eigenvectors&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;with(LinearAlgebra):&lt;br&gt;A := evalf(RandomMatrix(5,generator=rand(-2..5)));&lt;br&gt;eig := Eigenvectors(A, output=list);&lt;br&gt;s := sort( eig, (x,y)-&amp;gt;abs(x[1])&amp;lt;abs(y[1]) );&lt;br&gt;S := s[1..5,1]; # Sorted list of eigenvalues&lt;br&gt;V := Matrix( op~(s[1..5,3]) ); # the matrix of eigenvectors&lt;/pre&gt;
&lt;p&gt;Now you can get the ordered eigenvalues by S[1], S[2], etc.&lt;/p&gt;</description>
      <guid>144500</guid>
      <pubDate>Tue, 12 Mar 2013 03:58:08 Z</pubDate>
      <itunes:author>Adri van der Meer</itunes:author>
      <author>Adri van der Meer</author>
    </item>
    <item>
      <title>Thank you very much it worked</title>
      <link>http://www.mapleprimes.com/questions/144496-Sorting-And-Assigning-Eigenvalues-By?ref=Feed:MaplePrimes:Sorting and assigning eigenvalues by magnitude or absolute:Comments#comment144640</link>
      <itunes:summary>&lt;p&gt;Thank you very much it worked&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you very much it worked&lt;/p&gt;</description>
      <guid>144640</guid>
      <pubDate>Thu, 14 Mar 2013 23:12:35 Z</pubDate>
      <itunes:author>killerpriest</itunes:author>
      <author>killerpriest</author>
    </item>
  </channel>
</rss>