function test_matrix_test ( )

%*****************************************************************************80
%
%% test_matrix_test() tests test_matrix().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 March 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../test_matrix' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'test_matrix_test()\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  test_matrix() defines a number of test matrices with\n' );
  fprintf ( 1, '  known properties.\n' );
%
%  Utilities.
%
  bvec_next_grlex_test ( );
  legendre_zeros_test ( );
  mertens_test ( );
  moebius_test ( );
  r8mat_is_eigen_left_test ( );
  r8mat_is_eigen_right_test ( );
  r8mat_is_ldlt_test ( );
  r8mat_is_llt_test ( );
  r8mat_is_null_left_test ( );
  r8mat_is_null_right_test ( );
  r8mat_is_solution_test ( );
%
%  Interesting stuff.
%
  test_condition ( );
  test_determinant ( );
  test_eigen_left ( );
  test_eigen_right ( );
  test_inverse ( );
  test_ldlt ( );
  test_llt ( );
  test_lu ( );
  test_null_left ( );
  test_null_right ( );
  test_plu ( );
  test_solution ( );
  test_type ( );
%
%  Terminate.
%  
  fprintf ( 1, '\n' );
  fprintf ( 1, 'test_matrix_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

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

