Thread overview | |||||
---|---|---|---|---|---|
|
November 15, 2006 Fast Fourier Transform (FFT)?? | ||||
---|---|---|---|---|
| ||||
Has anyone written a FFT in D that they wouldn't mind sharing? I checked dsource and couldn't find it there, and I don't feel like compiling/linking C code and going through that hassle. Speed is nice but not imperative, and I'm hoping for something that will be more correct than anything I would write :) Thanks in advance. |
November 16, 2006 Re: Fast Fourier Transform (FFT)?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad J | Chad J wrote:
> Has anyone written a FFT in D that they wouldn't mind sharing?
>
> I checked dsource and couldn't find it there, and I don't feel like compiling/linking C code and going through that hassle. Speed is nice but not imperative, and I'm hoping for something that will be more correct than anything I would write :)
>
> Thanks in advance.
There's one in mathextra on dsource. Pretty basic though.
If you need a serious FFT, make a wrapper for FFTW.
|
November 16, 2006 Re: Fast Fourier Transform (FFT)?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston | Don Clugston wrote:
> Chad J wrote:
>
>> Has anyone written a FFT in D that they wouldn't mind sharing?
>>
>> I checked dsource and couldn't find it there, and I don't feel like compiling/linking C code and going through that hassle. Speed is nice but not imperative, and I'm hoping for something that will be more correct than anything I would write :)
>>
>> Thanks in advance.
>
>
> There's one in mathextra on dsource. Pretty basic though.
> If you need a serious FFT, make a wrapper for FFTW.
Cool. I did not see that in mathextra when I looked earlier, maybe because it was in the notyetorganized part.
I'll be trying that out, thanks.
|
Copyright © 1999-2021 by the D Language Foundation