function r8utt_mv_test ( )

%*****************************************************************************80
%
%% R8UTT_MV_TEST tests R8UTT_MV
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 October 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8UTT_MV_TEST\n' );
  fprintf ( 1, '  R8UTT_MV computes a product b=A*x for an R8UTT matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  a = r8utt_indicator ( n );
  r8utt_print ( n, a, '  The R8UTT matrix A:' );

  x = r8vec_indicator1 ( n );
  r8vec_print ( n, x, '  Vector x:' );

  b = r8utt_mv ( n, a, x );
  r8vec_print ( n, b, '  Vector b = A*x:' );

  return
end
