function r8ltt_mv_test ( )

%*****************************************************************************80
%
%% R8LTT_MV_TEST tests R8LTT_MV
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8LTT_MV_TEST\n' );
  fprintf ( 1, '  R8LTT_MV computes a product b=A*x for an R8LTT matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  a = r8ltt_indicator ( n );
  r8ltt_print ( n, a, '  The R8LTT matrix A:' );

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

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

  return
end
