octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47560] Eigenvalue order


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #47560] Eigenvalue order
Date: Wed, 30 Mar 2016 08:31:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Update of bug #47560 (project octave):

                Category:                    None => Octave Function        
                Severity:              3 - Normal => 1 - Wish               
              Item Group:                    None => Feature Request        
                  Status:                    None => Wont Fix               
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #2:

This is a feature request. The documentation of *eig* states clear:

"The eigenvalues returned by eig are not ordered."

https://www.gnu.org/software/octave/doc/v4.0.1/Basic-Matrix-Functions.html#Basic-Matrix-Functions

There might be performance reasons for this, as eigenvalues in Octave are
computed via BLAS- or Suitesparse-routines. Matlab doen't order them, maybe
because of similar reasons, too.

A very quick and uncomplicated way to archive the desired behavior is: 


E = sort (eig (rand (5)))


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47560>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]