function r8pbu_mv_test ( )

%*****************************************************************************80
%
%% R8PBU_MV_TEST tests R8PBU_MV.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    03 June 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  mu = 2;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8PBU_MV_TEST\n' );
  fprintf ( 1, '  R8PBU_MV computes A*x\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N =     %d\n', n );
  fprintf ( 1, '  Upper bandwidth MU = %d\n', mu );
%
%  Set the matrix.
%
  [ a, seed ] = r8pbu_random ( n, mu, seed );
  r8pbu_print ( n, mu, a, '  Matrix A:' );
%
%  Set the desired solution.
%
  x = r8vec_indicator1 ( n );
  r8vec_print ( n, x, '  Vector x:' );
%
%  Compute the corresponding right hand side.
%
  b = r8pbu_mv ( n, mu, a, x );
  r8vec_print ( n, b, '  Product b=A*x' );

  return
end
