function c8vec_sft_test ( )

%*****************************************************************************80
%
%% c8vec_sft_test() tests c8vec_sftb() and c8vec_sftf().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 June 2010
%
%  Author:
%
%    John Burkardt
%
  n = 36;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'c8vec_sft_test():\n' );
  fprintf ( 1, '  c8vec_sftf() computes the forward slow Fourier transform.\n' );
  fprintf ( 1, '  c8vec_sftb() computes the backward slow Fourier transform.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  The number of data values, N = %d\n', n );

  x = c8vec_uniform_01 ( n );

  c8vec_print_part ( n, x, 10, '  The original data:' );
%
%  Compute the slow Fourier transform of the data.
%
  y = c8vec_sftf ( n, x );

  c8vec_print_part ( n, y, 10, '  The Fourier coefficients:' );
%
%  Now try to retrieve the data from the coefficients.
%
  x2 = c8vec_sftb ( n, y );

  c8vec_print_part ( n, x2, 10, '  The retrieved data:' );

  return
end
