[Numpy-discussion] speeding up operations on small vectors

Pauli Virtanen pav at iki.fi
Tue Oct 11 08:49:18 EDT 2011


11.10.2011 14:14, Christoph Groth kirjoitti:
[clip]
> 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