function c = r8utt_mm ( n, a, b )

%*****************************************************************************80
%
%% R8UTT_MM computes C = A * B, where A and B are R8UTT matrices.
%
%  Discussion:
%
%    The R8UTT storage format is used for an N by N upper triangular Toeplitz
%    matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 October 2015
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, the order of the matrices.
%
%    Input, real A(N), the first factor.
%
%    Input, real B(N), the second factor.
%
%    Output, real C(N), the product.
%
  c = zeros ( n, 1 );

  d = zeros ( n, 1 );
  for k = 1 : n
    d(n+1-k) = b(k);
  end
  e = r8utt_mv ( n, a, d );

  c(1:n) = e(n:-1:1);

  return
end
