function r8pbl_mv_test ( )

%*****************************************************************************80
%
%% R8PBL_MV_TEST tests R8PBL_MV.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    21 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  ml = 2;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8PBL_MV_TEST\n' );
  fprintf ( 1, '  R8PBL_MV computes A*x, where A is an R8PBL matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N =     %d\n', n );
  fprintf ( 1, '  Lower bandwidth ML = %d\n', ml );
%
%  Set the matrix.
%
  seed = 123456789;
  [ a, seed ] = r8pbl_random ( n, ml, seed );

  r8pbl_print ( n, ml, a, '  Matrix A:' );
%
%  Set the desired solution.
%
  x = r8vec_indicator1 ( n );

  r8vec_print ( n, x, '  Vector x:' );
%
%  Compute the corresponding right hand side.
%
  b = r8pbl_mv ( n, ml, a, x );

  r8vec_print ( n, b, '  Product b=A*x' );

  return
end
