1 subroutine rft(f, ffnul, ffcos, ffsin, jpts, mharm)
16 integer(itm_i4),
intent(in) :: jpts, mharm
17 real(r8),
dimension(jpts),
intent(in) :: f
18 real(r8),
intent(out) :: ffnul
19 real(r8),
dimension(mharm),
intent(out) :: ffcos, ffsin
21 real(r8),
dimension(jpts + 2) :: fstore
23 integer(itm_i4) :: j, m
28 call
rft2(fstore, jpts, 1)
30 ffnul = fstore(1) * fac
33 ffcos(m) = fstore(2 * m + 1) * fac
34 ffsin(m) = - fstore(2 * m + 2) * fac
subroutine rft2(data, nr, kr)
subroutine rft(f, ffnul, ffcos, ffsin, jpts, mharm)