[SciPy-User] At.: question about refresh numpy array in a for-cycle
Josè Luis Mietta
Wed Jun 26 18:00:29 CDT 2013
Im writing a code with a numpy array L, the numpy matrix M and the next script:
for x in L:
for l in srange(N):
z= l in L
if z is False and M[x,l] != 0:
here, in the end of the cycle, new elements are incorporated to the array 'L'.
I want these new elements be considered as 'x' index in the cycle.
When I execute the script I see that only the 'originals' elements of L are considered as 'x'.
How can i fix it?
Waiting for your answers.
Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User