[Numpy-discussion] Permutations in Simulations`

Mark Miller markperrymiller@gmail....
Tue Feb 10 16:23:19 CST 2009


Got it.  Thanks!

On Tue, Feb 10, 2009 at 1:50 PM, Keith Goodman <kwgoodman@gmail.com> wrote:
> On Tue, Feb 10, 2009 at 1:41 PM, Mark Miller <markperrymiller@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@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list