function r8po_mv_test ( )

%*****************************************************************************80
%
%% R8PO_MV_TEST tests R8PO_MV.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8PO_MV_TEST\n' );
  fprintf ( 1, '  R8PO_MV computes the product of an R8PO matrix and a vector.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set (the upper half of) matrix A.
%
  a = zeros ( n, n );

  for i = 1 : n
    a(i,i) = 2.0;
  end

  for i = 1 : n - 1
    a(i,i+1) = -1.0;
  end

  r8po_print ( n, a, '  Matrix A:' );
%
%  Set the vector V.
%
  v = r8vec_indicator1 ( n );

  r8vec_print ( n, v, '  Vector V:' );
%
%  Compute the product.
%
  w = r8po_mv ( n, a, v );

  r8vec_print ( n, w, '  Product w = A * v:' );

  return
end
