[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] How does this cycle https://github.com/ampl/gsl/blob/mast
Re: [Help-gsl] How does this cycle https://github.com/ampl/gsl/blob/master/linalg/svd.c#L117 work?
Mon, 19 Jun 2017 11:35:55 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
I don't know the answer to your question, but its probably more helpful
to take a look at the SVD algorithm description in Golub and Van Loan,
on which the GSL code is probably based. Also its probably worthwhile to
look at the original paper, which I found here:
There is a complete pseudo-code writeup given in section 4.
On 06/16/2017 04:19 PM, Marco Ippolito wrote:
> Hi all
> I do not undderstand this while cycle :
> It seems to me that the only time when b is decremented is here:
> so when fbm1 == 0.0 where fb1 is the value of f at index = b-1 :
> Since I'm trying to write my own C++11 code based on GSL code, I would like
> to understand how it can work.
> Any ideas?
> Looking forward to your kind help.