function r8mat_mtv_test ( )

%*****************************************************************************80
%
%% R8MAT_MTV_TEST tests R8MAT_MTV.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 August 2018
%
%  Author:
%
%    John Burkardt
%
  m = 2;
  n = 4;

  a = [ ...
    1.0, 2.0, 3.0, 4.0; ...
    1.0, 1.0, 1.0, 1.0 ];
  x = [ 1.0; 2.0 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8MAT_MTV_TEST\n' );
  fprintf ( 1, '  R8MAT_MTV computes a matrix-vector product b = A'' * x;\n' );

  b = r8mat_mtv ( m, n, a, x );

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

  return
end
