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

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

[Octave-bug-tracker] [bug #42177] Wrong second output argument for chol


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #42177] Wrong second output argument for chol of a sparse matrix
Date: Thu, 24 Apr 2014 07:02:38 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0

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

Hi Mike,

the result from Matlab is R=[1,1] (as in octave), but info == 2.

The help (both in Octave and Matlab) clearly says that if A is not positive
definite, then the second output argument is not 0 and this is a correct
behavior in my opinion. One uses R = chol (A) if thinks A is SPD. If not, he
should be warned. Then he can decide whether to use R or not.

What is misleading in the help of Octave is the use of P as second output
argument. It seems a permutation matrix. Matlab uses p, but why not to use
info?

Cheers,

Marco

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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