FFTQX(3)

SYNOPSIS
SUBROUTINE FFTQX (LUN, KPRINT, IPASS)

NAME
fftqx - Quick check for the NCAR FFT routines.

LIBRARY
SLATEC

KEYWORDS
QUICK CHECK

AUTHOR
Swarztrauber, P. N., (NCAR)

DESCRIPTION
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * VERSION 4 APRIL 1985 A TEST DRIVER FOR A PACKAGE OF FORTRAN SUBPROGRAMS FOR THE FAST FOURIER TRANSFORM OF PERIODIC AND OTHER SYMMETRIC SEQUENCES BY PAUL N SWARZTRAUBER NATIONAL CENTER FOR ATMOSPHERIC RESEARCH BOULDER, COLORADO 80307 WHICH IS SPONSORED BY THE NATIONAL SCIENCE FOUNDATION * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * THIS PROGRAM TESTS THE PACKAGE OF FAST FOURIER TRANSFORMS FOR BOTH COMPLEX AND REAL PERIODIC SEQUENCES AND CERTAIN OTHER SYMMETRIC SEQUENCES THAT ARE LISTED BELOW. 1. RFFTI INITIALIZE RFFTF AND RFFTB 2. RFFTF FORWARD TRANSFORM OF A REAL PERIODIC SEQUENCE 3. RFFTB BACKWARD TRANSFORM OF A REAL COEFFICIENT ARRAY 4. EZFFTI INITIALIZE EZFFTF AND EZFFTB 5. EZFFTF A SIMPLIFIED REAL PERIODIC FORWARD TRANSFORM 6. EZFFTB A SIMPLIFIED REAL PERIODIC BACKWARD TRANSFORM 7. SINTI INITIALIZE SINT 8. SINT SINE TRANSFORM OF A REAL ODD SEQUENCE 9. COSTI INITIALIZE COST 10. COST COSINE TRANSFORM OF A REAL EVEN SEQUENCE 11. SINQI INITIALIZE SINQF AND SINQB 12. SINQF FORWARD SINE TRANSFORM WITH ODD WAVE NUMBERS 13. SINQB UNNORMALIZED INVERSE OF SINQF 14. COSQI INITIALIZE COSQF AND COSQB 15. COSQF FORWARD COSINE TRANSFORM WITH ODD WAVE NUMBERS 16. COSQB UNNORMALIZED INVERSE OF COSQF 17. CFFTI INITIALIZE CFFTF AND CFFTB 18. CFFTF FORWARD TRANSFORM OF A COMPLEX PERIODIC SEQUENCE 19. CFFTB UNNORMALIZED INVERSE OF CFFTF

ROUTINES CALLED
CFFTB, CFFTF, CFFTI, COSQB, COSQF, COSQI, COST, COSTI, EZFFTB, EZFFTF, EZFFTI, PIMACH, R1MACH, RFFTB, RFFTF, RFFTI, SINQB, SINQF, SINQI, SINT, SINTI

REVISION HISTORY (YYMMDD)
790601 DATE WRITTEN
890718 Changed computation of PI to use PIMACH. (WRB)
890911 Removed unnecessary intrinsics. (WRB)
890911 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
901205 Changed usage of R1MACH(3) to R1MACH(4). (RWC)
910708 Minor modifications in use of KPRINT. (WRB)
920211 Code cleaned up, an error in printing an error message fixed and comments on PASS/FAIL of individual tests added. (WRB)
920618 Code upgraded to "Version 4". (BKS, WRB)
930315 Modified RFFT* tests to compute "slow-transform" in DOUBLE PRECISION. (WRB)