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

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

[Octave-bug-tracker] [bug #41795] Unexpected eigenvector matrix from eig


From: Max G.
Subject: [Octave-bug-tracker] [bug #41795] Unexpected eigenvector matrix from eigs
Date: Fri, 07 Mar 2014 08:57:03 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36

Follow-up Comment #1, bug #41795 (project octave):

I tried to reproduce the error, but I couldn't.

octave -q
octave:1> X = rand(10, 8);
octave:2> Z = X*X';
octave:3> r = rank(Z) % should return 8
r =  8
octave:4> [V, D] = eigs(Z, r, "lm");
octave:5> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  ===== 
        D           8x8                         64  double
        V           8x10                       640  double
        X          10x8                        640  double
        Z          10x10                       800  double
        r           1x1                          8  double

Total is 325 elements using 2152 bytes


Furthermore,
 [V, D] = eigs(Z, 9, "lm");  works too.

I'm using Xubuntu 13.10 and self-compiled Octave 3.8.0.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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