[Numpy-discussion] Permutations in Simulations`

Mark Miller markperrymiller at gmail.com
Tue Feb 10 17:23:19 EST 2009


Got it.  Thanks!

On Tue, Feb 10, 2009 at 1:50 PM, Keith Goodman <kwgoodman at gmail.com> wrote:
> 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>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list