function r8pp_mv_test ( )

%*****************************************************************************80
%
%% R8PP_MV_TEST tests R8PP_MV.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 June 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8PP_MV_TEST\n' );
  fprintf ( 1, '  R8PP_MV computes b=A*x, where A is an R8PP matrix\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  a = r8pp_indicator ( n );
  r8pp_print ( n, a, '  The R8PP indicator matrix:' );

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

  b = r8pp_mv ( n, a, x );
  r8vec_print ( n, b, '  Product b=A*x' );
 
  return
end
