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

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

[Octave-bug-tracker] [bug #42097] 64bit Slackware, eig returning incorre


From: Russell Carden
Subject: [Octave-bug-tracker] [bug #42097] 64bit Slackware, eig returning incorrect results
Date: Fri, 11 Apr 2014 16:18:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 conkeror/1.0pre

Follow-up Comment #3, bug #42097 (project octave):

Thanks for the quick reply.
Here is an example of what I am observing.
octave:1> version
ans = 3.8.0
octave:2> A=randn(3)
A =

   1.53587   0.29450   0.15366
   0.60792  -1.93114   0.67947
  -0.31746   1.29087  -1.14817

octave:3> [V D]=eig(A)
V =

   0.983566  -0.124690  -0.027442
   0.112137   0.393865   0.735934
  -0.141504   0.910671  -0.676497

D =

Diagonal Matrix

   1.54734         0         0
         0  -0.51662         0
         0         0  -2.57417

octave:4> A*V-V*D
ans =

   2.2204e-16  -6.9389e-17  -6.9389e-17
   1.1172e-01  -1.4163e-02  -3.1170e-03
   2.1394e-01  -2.7121e-02  -5.9689e-03

octave:5> eig(A')
ans =

   1.55218
  -2.53387
  -0.56175




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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