function r8cbb_mtv_test ( )

%*****************************************************************************80
%
%% R8CBB_MTV_TEST tests R8CBB_MTV.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    23 July 2016
%
%  Author:
%
%    John Burkardt
%
  n1 = 6;
  n2 = 2;
  n = n1 + n2;
  ml = 1;
  mu = 1;
  na = ( ml + mu + 1 ) * n1 + 2 * n1 * n2 + n2 * n2;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8CBB_MTV_TEST\n' );
  fprintf ( 1, '  R8CBB_MTV computes b=A''*x, where A is an R8CBB matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N =     %d\n', n );
  fprintf ( 1, '  Matrix suborder N1 = %d\n', n1 );
  fprintf ( 1, '  Matrix suborder N2 = %d\n', n2 );
  fprintf ( 1, '  Lower bandwidth ML = %d\n', ml );
  fprintf ( 1, '  Upper bandwidth MU = %d\n', mu );
%
%  Set the matrix.
%
  a = r8cbb_indicator ( n1, n2, ml, mu );

  r8cbb_print ( n1, n2, ml, mu, a, '  The R8CBB matrix A:' );

  x = r8vec_indicator1 ( n );

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

  b = r8cbb_mtv ( n1, n2, ml, mu, a, x );

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

  return
end
