function r8ci_mtv_test ( )

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

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8CI_MTV_TEST\n' );
  fprintf ( 1, '  R8CI_MTV computes b=A''*x where A is an R8CI indicator matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  a = r8ci_indicator ( n );
  r8ci_print ( n, a, '  The R8CI matrix A:' );

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

  b = r8ci_mtv ( n, a, x );
  r8vec_print ( n, b, '  The product b=A''*x:' );

  return
end
