function a = fourier_cosine_inverse ( n )

%*****************************************************************************80
%
%% fourier_cosine_inverse() returns the inverse of the FOURIER_COSINE matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%  Output:
%
%    real A(N,N), the matrix.
%
  a = fourier_cosine_matrix ( n );

  a = a';

  return
end
