function lambda = smoke1_eigenvalues ( n )

%*****************************************************************************80
%
%% smoke1_eigenvalues() returns the eigenvalues of the SMOKE1 matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%  Output:
%
%    complex LAMBDA(N,1), the eigenvalues.
%
  lambda = zeros ( n, 1 );

  for i = 1 : n
    angle = 2.0 * pi * i / n;
    lambda(i,1) = complex ( cos ( angle ), sin ( angle ) );
  end

  lambda(1:n,1) = lambda(1:n,1) * 2^( 1.0 / n );

  return
end
