help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] How does this cycle https://github.com/ampl/gsl/blob/master/l


From: Marco Ippolito
Subject: [Help-gsl] How does this cycle https://github.com/ampl/gsl/blob/master/linalg/svd.c#L117 work?
Date: Fri, 16 Jun 2017 16:19:09 +0200

Hi all
I do not understand this while cycle :
https://github.com/ampl/gsl/blob/master/linalg/svd.c#L117

It seems to me that the only time when b is decremented is here:
https://github.com/ampl/gsl/blob/master/linalg/svd.c#L123
so when fbm1 == 0.0 where fb1 is the value of f at index = b-1 :
https://github.com/ampl/gsl/blob/master/linalg/svd.c#L119

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.
Marco


reply via email to

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