function r8ut_mv_test ( )

%*****************************************************************************80
%
%% r8ut_mv_test() tests r8ut_mv().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 August 2015
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8ut_mv_test():\n' );
  fprintf ( 1, '  r8ut_mv() computes a product b=A*x for an R8UT matrix.\n' );

  a = r8ut_indicator ( m, n );
  r8ut_print ( m, n, a, '  The R8UT matrix A:' );

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

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

  return
end
