1 subroutine r4_mcfti1 ( n, wa, fnf, fac )
3 !*****************************************************************************80
5 !! R4_MCFTI1 sets up factors and tables, real single precision arithmetic.
8 ! Copyright (C) 1995-2004, Scientific Computing Division,
9 ! University Corporation for Atmospheric Research
23 ! Vectorizing the Fast Fourier Transforms,
24 ! in Parallel Computations,
25 ! edited by G. Rodrigue,
26 ! Academic Press, 1982.
29 ! Fast Fourier Transform Algorithms for Vector Computers,
30 ! Parallel Computing, pages 45-63, 1984.
36 real ( kind = 4 ) fac(*)
38 integer ( kind = 4 ) ido
39 integer ( kind = 4 ) ip
40 integer ( kind = 4 ) iw
41 integer ( kind = 4 ) k1
42 integer ( kind = 4 ) l1
43 integer ( kind = 4 ) l2
44 integer ( kind = 4 ) n
45 integer ( kind = 4 ) nf
46 real ( kind = 4 ) wa(*)
48 ! Get the factorization of N.
50 call r4_factor ( n, nf, fac )
51 fnf = real ( nf, kind = 4 )
55 ! Set up the trigonometric tables.
61 call r4_tables ( ido, ip, wa(iw) )
62 iw = iw + ( ip - 1 ) * ( ido + ido )