This directory contains a couple of tests program for the
1D and the n-D transforms.

fftw_test :  Checks the 1d transform.  It has a few major modes of operation.

   fftw_test -c <n>    Checks the forward and backward transform of size
                       <n>.  The result is compared against the n^2 naive
                       algorithm, which will be painfully slow for large <n>

   fftw_test -s <n>    Test the speed of the transform of size <n>, both in
                       place and out of place.

   fftw_test -a        Like fftw_test -c <n>  for all n = 1 ... infinity.
	               Does not terminate (press ^C when you are tired)

   fftw_test -p        Exercises the planner to make sure there are no 
                       memory leaks.

   fftw_test -w <file> Tests the "wisdom" mechanism (wisdom is used
                       in all transforms computed...this option should
                       precede one of the other options above).  Also,
                       loads wisdom from <file> and stores accumulated
                       wisdom in <file> (after tests are completed).
                       (<file> is created if it does not exist.)

   fftw_test -t        Tests the resolution of the timer you are currently
                       using.  This is done by measuring the time per
                       iteration of a simple loop--the time/iter should
                       converge to some value for large numbers of iterations,
                       and the rate of convergence can be used to infer
                       something about the timer resolution.

                       The minimum timing interval required to achieve
                       various levels of consistency/accuracy is outputted.
                       You can compare this to the FFTW_TIME_MIN setting
                       in fftw.h to see how appropriate it is for your
                       machine's clock.

   fftw_test -v        Verbose output (should precede other options).

   fftw_test -h        Prints help on these and other command-line flags


testnd : checks the n-dimensional transform, for various <n> and random
     sizes.  The result is compared against the FFT program written
     by R. C. Singleton, Stanford Research Institute, Sept. 1968, that
     has been widely used in the past.  Singleton's program is in go_fft.c.
