function r8to_mtv_test ( )

%*****************************************************************************80
%
%% R8TO_MTV_TEST tests R8TO_MTV.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 September 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8TO_MTV_TEST\n' );
  fprintf ( 1, '  R8TO_MTV computes b=A''*x, where A is an R8TO matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ a, seed ] = r8to_random ( n, seed );

  r8to_print ( n, a, '  The Toeplitz matrix:' );

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

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

  return
end
