[Numpy-discussion] Permutations in Simulations`
Keith Goodman
kwgoodman at gmail.com
Tue Feb 10 16:50:15 EST 2009
On Tue, Feb 10, 2009 at 1:41 PM, Mark Miller <markperrymiller at gmail.com> wrote:
> Out of curiosity, why wouldn't numpy.apply_along_axis be a reasonable
> approach here. Even more curious: why is it slower than the original
> explicit loop?
I took a quick look at the apply_along_axis code. It is numpy code
(not c) and it uses a while loop to loop over the axis.
In ipython just type np.apply_along_axis?? <enter>
More information about the NumPy-Discussion
mailing list