主题:关于fortran IMSL中的fft函数的应用
zhuanghouchuan
[专家分:0] 发布于 2010-04-15 13:42:00
本人作材料模拟研究,需要将一个三维的数组(矩阵)进行傅立叶快速变换,请问IMSL中的fft函数能不能实现这个功能,还是其只能进行一或二维数组的转换?一直没找到答案,着急,希望了解情况的前辈和老师多多指点,谢谢了!
回复列表 (共2个回复)
沙发
asymptotic [专家分:16630] 发布于 2010-04-15 23:49:00
IMSL 子程序:
FFT3F
Computes Fourier coefficients of a complex periodic three-dimensional array.
板凳
zhuanghouchuan [专家分:0] 发布于 2010-04-17 10:00:00
program recordT
use IMSL
implicit none
real:: e(6,6,5),a(6,6,5)
integer::m=1,i,j,k
do k=1,5
do i=1,6
do j=1,6
e(i,j,k)=m
m=m+1
end do
end do
end do
a=fft3f(e)
end program
请问是这样吗?调试的时候怎么会显示:A function reference is invoking an external subroutine subprogram. [FFT3F]
Error: This name does not have a type, and must have an explicit type. [FFT3F]
a=fft3f(e)
我来回复