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

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

[Octave-bug-tracker] [bug #41454] Inaccurate/incorrect result for invers


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #41454] Inaccurate/incorrect result for inverse of symmetric matrix
Date: Sat, 30 Jan 2016 05:59:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #2, bug #41454 (project octave):

I can reproduce the error, but get yet another set of answers


matrixSize =

   239   239

matrixRank =  239
matrixCond =    4.9337e+07
machineEps =    2.2204e-16
withBackslashEye =

   2.5171e-09   3.8788e-08

withInv =

   5.2161e-01   4.8754e-08

symmetryHs = 0
symmetryMyInv =    2.5151e-08
symmetryOctInv =  0.22344


However, note also that I get


norm (inv(octInv) - Hs)
ans =    1.0759e-07


Perhaps the problem is just much less well conditioned than the condition
number suggests.  I note that the top left 145x145 block is just the identity.
 I assume that makes the condition number very good, despite the complexity in
the remainder of the matrix.  (This is where I should learn some linear
algebra...  Could either of you tell me the definition of the condition
number?)

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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