
#1
Feb810, 05:43 AM

P: 1,199

Hello
Here is my code:
My code is only calculating the first row of S, ie. S(2,1) = 0 still. I don't know why the program is ending without adding 1 onto i and repeating the loop, I can only imagine the "while" loop is the wrong way of going about this? Thanks for any help, Mike 



#2
Feb810, 09:52 AM

Mentor
P: 20,962

A better choice is a for loop for each of your loops.



Register to reply 
Related Discussions  
Help me design my "carputer" to work in the cold (advice on building a heater)  Computing & Technology  10  
building a "hybrid" and dynamic mathematical space  Math & Science Software  0  
New Loll "The Art of Building Spacetime" (Oriti's book)  Beyond the Standard Model  0  
building a "hybrid" and dynamic mathematical space  Math & Science Software  0  
"The Duel: Strings versus Loops" by Rudy Vaas  Beyond the Standard Model  9 