[Numpy-discussion] speeding up operations on small vectors

Pauli Virtanen pav@iki...
Tue Oct 11 07:49:18 CDT 2011

11.10.2011 14:14, Christoph Groth kirjoitti:
> Thank you for your suggestion.  It doesn't help me however, because the
> algorithm I'm _really_ trying to speed up cannot be vectorized with
> numpy in the way you vectorized my toy example.
> Any other ideas?

Reformulate the problem so that it can be vectorized. Without knowing
more about the actual algorithm you are trying to implement, it's not
easy to give more detailed help.

Pauli Virtanen

More information about the NumPy-Discussion mailing list