function chebyshev_matrix_test ( )

%*****************************************************************************80
%
%% chebyshev_matrix_test() tests chebyshev_matrix().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 March 2024
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../chebyshev_matrix' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chebyshev_matrix_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  Test chebyshev_matrix().\n' );

  chebyshev_grid_print ( );
  chebyshev_matrix_print ( );
  chebyshev_differentiation_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chebyshev_matrix_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../chebyshev_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

