- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am wondering if FFT subroutine provided in IMSL c_fast_dft could take double-precision complex variable? It is not mentioned in its documentation. My finding is it does not take double-precision complex variables since it is based on Fortran 77 which does not supply double-precision complex variables. Also, I am wondering if d_fast_dft and s_fast_dft subroutines are also available in IMSL, according to the documentation
"
"
thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The usual naming convention in Lapack and other related libraries is that the 'c' prefix is for single-precision complex and 'z' for double-precision complex. Thus, you should try z_fast_dft().
As the IMSL Math library manual says, there is no generic interface for the FFT routines, and there are four specific interfaces, covering combinations of real/complex and single/double precision.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mecej4,
mecej4 wrote:
The usual naming convention in Lapack and other related libraries is that the 'c' prefix is for single-precision complex and 'z' for double-precision complex. Thus, you should try z_fast_dft().
As the IMSL Math library manual says, there is no generic interface for the FFT routines, and there are four specific interfaces, covering combinations of real/complex and single/double precision.
thanks for your help! I went back and tried z_fast_dft, and it works. However, calling d_fast_dft or s_fast_dft gives me error LNK2019: unresolved external symbol _D_FAST_DFT. All I need is to do FFT of real signal.
thanks!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page