filipwasilewski at gmail.com
Sat Nov 18 15:31:40 CET 2006
> I have an integer array with values limited to range(a,b) like:
> and want to speedly count the frequencies of the integers into get a density matrix.
> Is this possible without looping?
See numpy.bincount (for integers >= 0) if you mean 'without writing
looping code in Python' or please specify your question.
> Question 2: is it possible to compute a "moving maximum" without python looping
> -> mvmax(ia,3) ->
I haven't seen a ready solution but this can be easily converted into
More information about the Python-list