function slap_soln_write ( iunit, n, soln )

%*****************************************************************************80
%
%% slap_soln_write writes a solution vector to a slap file.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 January 2014
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Mark Seager,
%    A SLAP for the Masses,
%    Lawrence Livermore National Laboratory,
%    Technical Report UCRL-100267, December 1988.
%
%  Input:
%
%    integer IUNIT, the output device to which
%    the matrix information is to be written.
%
%    integer N, the order of the matrix.
%
%    real SOLN(N), the solution vector to be written.
%
  fprintf ( iunit, '  %g\n', soln(1:n) );

  return
end
