[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'chol' 2nd output arg: funny output
From: |
Michael Creel |
Subject: |
Re: 'chol' 2nd output arg: funny output |
Date: |
Wed, 23 Jun 2004 09:41:06 +0200 |
User-agent: |
KMail/1.6.2 |
On Tuesday 22 June 2004 11:31, address@hidden wrote:
> I'm using V2.1.57 Cygwin.
>
> Neither :> help chol
> nor :> help -i chol
> provide any info that 'chol' returns two outputs.
>
> The latter must be concluded from 'polyfit.m'
> where 'chol' is called with two output
> arguments.
>
> Can anybody give me something info about output B
> of [ R, B ] = chol( A, 0 ) ?
>
> Thanks
> Rolf Fabian fabian at ansci dot de
>
I was checking this out, and I'm a little surprised by the "Upper Triangular"
message. What's its purpose?
octave:1> a = rand(2,2)
a =
0.81472 0.90579
0.13548 0.83501
octave:2> a = a'*a
a =
0.68213 0.85109
0.85109 1.51770
octave:3> chol(a)
ans =
0.82591 1.03049
0.00000 0.67512
Upper Triangular
octave:4>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------