1 subroutine r8_mcfti1 ( n, wa, fnf, fac )
3 !*****************************************************************************80
5 !! R8_MCFTI1 sets up factors and tables, real double precision arithmetic.
15 ! Original real single precision version by Paul Swarztrauber, Dick Valent.
16 ! Real double precision version by John Burkardt.
21 ! Vectorizing the Fast Fourier Transforms,
22 ! in Parallel Computations,
23 ! edited by G. Rodrigue,
24 ! Academic Press, 1982.
27 ! Fast Fourier Transform Algorithms for Vector Computers,
28 ! Parallel Computing, pages 45-63, 1984.
34 real ( kind = 8 ) fac(*)
36 integer ( kind = 4 ) ido
37 integer ( kind = 4 ) ip
38 integer ( kind = 4 ) iw
39 integer ( kind = 4 ) k1
40 integer ( kind = 4 ) l1
41 integer ( kind = 4 ) l2
42 integer ( kind = 4 ) n
43 integer ( kind = 4 ) nf
44 real ( kind = 8 ) wa(*)
46 ! Get the factorization of N.
48 call r8_factor ( n, nf, fac )
49 fnf = real ( nf, kind = 8 )
53 ! Set up the trigonometric tables.
59 call r8_tables ( ido, ip, wa(iw) )
60 iw = iw + ( ip - 1 ) * ( ido + ido )