function plasma_matrix_test ( )

%*****************************************************************************80
%
%% plasma_matrix_test() tests plasma_matrix().
%
%  Discussion:
%
%    This program shows how a MATLAB sparse matrix (and possibly a right
%    hand side vector) can be stored into a Harwell-Boeing file,
%    and later retrieved.
%
%    Harwell-Boeing files are useful as a means of storing sparse matrices,
%    especially when data is created with one program and needed by another.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 March 2020
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../plasma_matrix' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'plasma_matrix_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test plasma_matrix()\n' );

  plasma_matrix_test01 ( 5 );
  plasma_matrix_test01 ( 100 );
  plasma_matrix_test02 ( 100 );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'plasma_matrix_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../plasma_matrix' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

