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

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

[Octave-bug-tracker] [bug #47236] output of eigs() with 'sa' option diff


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #47236] output of eigs() with 'sa' option differs from Matlab
Date: Tue, 23 Feb 2016 20:16:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36

Follow-up Comment #7, bug #47236 (project octave):


d =

Diagonal Matrix

   2.5453e-02            0            0
            0   2.0710e-02            0
            0            0  -3.2499e-15

>> lapsh1

m =

Diagonal Matrix

  -3.5256        0        0
        0  -3.5358        0
        0        0  -3.9126
from m   smallest number is top left but with d the smallest number is at
bottom right.


here is one more example of d

d =

Diagonal Matrix

   2.5453e-02            0            0
            0   2.0710e-02            0
            0            0   4.4038e-15



     "sa"
          Smallest Algebraic (valid only for real symmetric problems).

matlab always does it with smallest at top left. That is what I was told. and
that is what the OP was expecting and the program was expecting.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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