[SciPy-User] [SciPy-user] Looping over one variable keeping the others constant

surfcast23 surfcast23 at gmail.com
Fri Apr 13 00:06:20 EDT 2012


Hi All,

 I would like to know how one can loop over one variable incrementing it
while keeping the second fixed. With the final out put being a table of
values. For example hold y fixed and increment x then increment y and
re-increment  x so you would get something like this 

x,y
1,1
2,1
3,1
1,2
2,2
3,2

thanks in advance
-- 
View this message in context: http://old.nabble.com/Looping-over-one-variable-keeping-the-others-constant-tp33679664p33679664.html
Sent from the Scipy-User mailing list archive at Nabble.com.




More information about the SciPy-User mailing list