[Numpy-discussion] Fast sizes for FFT

Julian Taylor jtaylor.debian at googlemail.com
Wed Dec 24 07:23:08 EST 2014


On 24.12.2014 13:07, Sturla Molden wrote:
> On 24/12/14 04:33, Robert McGibbon wrote:
>> Alex Griffing pointed out on github that this feature was recently added
>> to scipy in https://github.com/scipy/scipy/pull/3144. Sweet!
> 
> 
> I use different padsize search than the one in SciPy. It would be 
> interesting to see which is faster.
> 

hm this is a brute force search, probably fast enough but slower than
scipy's code (if it also were cython)

I also ported it to C a while back, so that could be used for numpy if
speed is an issue. Code attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: regular.c
Type: text/x-csrc
Size: 1776 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141224/2bb8e4b2/attachment.c>


More information about the NumPy-Discussion mailing list