function moebius_matrix_test ( )

%*****************************************************************************80
%
%% moebius_matrix_test() tests moebius_matrix().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  clear

  n = 11;

  h = [ ...
    0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0; ...
    0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0; ...
    1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0; ...
    1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0; ...
    0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0; ...
    0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0; ...
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
    0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
    0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1; ...
    0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0; ...
    0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'moebius_matrix_test():\n' );
  fprintf ( 1, '  moebius_matrix() computes the Moebius matrix.\n' );
 
  i4mat_print ( n, n, h, '  The input matrix:' );

  matrix = moebius_matrix ( n, h );
 
  i4mat_print ( n, n, matrix, '  The Moebius matrix:' );

  return
end
