Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: For loop iterations not changing
Posted:
Oct 20, 2011 1:19 PM


Why are you computing new values and old values in the same loop iteration?
Why the null statements such as rho(i+1) = rho(i+1) k = k
You seem to be reusing rho for several purposes. Why? e.g. this raises some flags of using a variable before it is initialized rho(i) = rho(i+1)



