[Numpy-discussion] Is numpy.convolve based on LAPACK routine?

Pauli Virtanen pav@iki...
Wed Nov 10 18:15:03 CST 2010

On Thu, 11 Nov 2010 00:43:32 +0100, LittleBigBrain wrote:
> I am wondering, is numpy.convolve based on LAPACK routine? Can it be
> speedup by using ATLAS?

LAPACK and Atlas do not AFAIK have convolution routines -- that's not 
linear algebra. MKL on the other hand would have some. The implementation 
in Numpy is the straightforward one, without SIMD etc.

For large datasets, scipy.signal.fftconvolve should be faster.

Pauli Virtanen

More information about the NumPy-Discussion mailing list