I\'d like to make the weave version of this double loop:
for i in range(len(x_array)): for j in range(N_iter): x_array[i] = sin(x_array[i])