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

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

[Octave-bug-tracker] [bug #43875] warning: matrix singular to machine pr


From: Rik
Subject: [Octave-bug-tracker] [bug #43875] warning: matrix singular to machine precision for triangular matrices
Date: Fri, 02 Jan 2015 17:32:02 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

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

Seems to work, although there is one oddity.  The warning about the matrix
being singular is printed out just once for the initial matrix A.  Subsequent
left divisions do not produce another warning.  On the other hand, every left
division of the U matrix produces a warning.  This is probably something to do
with the matrix type caching.


octave:1> A = [1,2,3;4,5,6;7,8,9];
octave:2> A \ ones (3,1);
warning: matrix singular to machine precision, rcond = 1.54198e-18
octave:3> A \ ones (3,1);
octave:4> A \ ones (3,1);
octave:5> [L,U] = lu (A);
octave:6> U \ ones (3,1);
warning: matrix singular to machine precision, rcond = 2.59052e-18
octave:7> U \ ones (3,1);
warning: matrix singular to machine precision, rcond = 2.59052e-18
octave:8> U \ ones (3,1);
warning: matrix singular to machine precision, rcond = 2.59052e-18




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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