function lambda = symmetric_random_eigenvalues ( n, d, key )

%*****************************************************************************80
%
%% symmetric_random_eigenvalues(): eigenvalues of the symmetric_random matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 March 2015
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%    real D(N), the desired eigenvalues for the matrix.
%
%    integer KEY, a positive integer that selects the data.
%
%  Output:
%
%    real LAMBDA(N), the eigenvalues.
%
  d = d(:);

  lambda = d;

  return
end
