Hi again,

I've condensed the problem down a lot, because I both presented it in an
overcomplicated way, and did not explain it particularly well.

Condensed problem:
a = np.zeros(num_patches)
b = np.array(...) #created, and is size 512^512 = 262,144
#Each value in "b" is an index into "a".
#For each occurrence of a given index in "b", increment the corresponding
value in "a" by +1.
#How should I do that?

Simpler, and more importantly, better explained problem.  Help?

Thanks again,
Ian
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to