function r8ri_indicator_test ( )

%*****************************************************************************80
%
%% R8RI_INDICATOR_TEST tests R8RI_INDICATOR.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    07 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  nz = 11;

  ija = [ ...
     7,  8,  8, 10, 11, ...
    12,  3,  2,  4,  5, ...
     4 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8RI_INDICATOR_TEST\n' );
  fprintf ( 1, '  R8RI_INDICATOR returns an R8RI indicator matrix\n' );
  fprintf ( 1, '  for a given sparsity pattern.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = ', n );
  fprintf ( 1, '  Storage NZ =     ', nz );

  a = r8ri_indicator ( n, nz, ija );

  r8ri_print ( n, nz, ija, a, '  The R8RI matrix:' );

  return
end
