[Numpy-discussion] Permutations in Simulations`
Tue Feb 10 15:50:15 CST 2009
On Tue, Feb 10, 2009 at 1:41 PM, Mark Miller <firstname.lastname@example.org> 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