[Numpy-discussion] irfft, odd size input and truncation

David Cournapeau cournape@gmail....
Thu Jul 22 02:58:35 CDT 2010


While looking at improving numpy.fft, I encountered some issue with
the definition of irfft for odd-size input. The docstring says that
irfft(x, n) when n < x.size truncate the high frequencies of x, but it
seems this is ambiguous for odd-size x and even n ? In particular, I
can't manage to emulate irfft with ifft in that case.



More information about the NumPy-Discussion mailing list