Hi Nico,
Using for-loops for numerical calculations is often problematic for
numerical calculations. I don't understand the fancy stuff with the
indexing of the arrays. Can you provide a working example script
and/or a brief description of the calculation you are performing
(including equations)?
Hi,
I'm trying to write a code for doing a 2D integral. It works well when
I'm doing it with normal "for" loops, but requires two nested loops,
and is much too slow for my application. I would like to know if it is
possible to do it faster, for example with fancy indexing and the use
of numpy.cums