Documentation of chol()

Thomas Weber thomas.weber.mail at gmail.com
Mon Jan 21 15:59:32 CST 2008


Hi, 

it seems chol() can return a second parameter:

=============================================
octave:6> A = eye(3,3);
octave:7> [a,b] = chol(A)
a =

   1   0   0
   0   1   0
   0   0   1

b = 0
=============================================

What does this second parameter mean? If I understand the code in
chol.cc and dpocon.f correctly, it basically says that everyhting was
alright (==0) or that there was some error (==-1). Is that correct?

	Thomas


More information about the Help-octave mailing list