Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted
##

xi__shun

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-15-2017
08:31 AM

27 Views

FFT in IMSL

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

"

FORTRAN 90 Interface

Generic: None

Specific: The specific interface names are S_FAST_DFT, D_FAST_DFT, C_FAST_DFT, and Z_FAST_DFT.

"

thanks

2 Replies

Highlighted
##

mecej4

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-15-2017
10:48 AM

27 Views

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.

Highlighted
##

xi__shun

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-15-2017
12:01 PM

27 Views

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!

For more complete information about compiler optimizations, see our Optimization Notice.