function r8ncf_print_some_test ( )

%*****************************************************************************80
%
%% R8NCF_PRINT_SOME_TEST tests R8NCF_PRINT_SOME.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    20 July 2016
%
%  Author:
%
%   John Burkardt
%
  m = 7;
  n = 5;
  nz_num = 15;

  rowcol = [ ...
    1, 1; ...
    2, 2; ...
    3, 3; ...
    4, 4; ...
    5, 5; ...
    2, 1; ...
    5, 1; ...
    1, 2; ...
    5, 2; ...
    1, 4; ...
    2, 4; ...
    3, 4; ...
    4, 5; ...
    4, 6; ...
    1, 7 ]';

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8NCF_PRINT_SOME_TEST\n' );
  fprintf ( 1, '  R8NCF_PRINT_SOME prints some of an R8NCF matrix;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix rows M =    %d\n', m );
  fprintf ( 1, '  Matrix columns N = %d\n', n );
  fprintf ( 1, '  Matrix nonzeros =  %d\n', nz_num );

  a = r8ncf_indicator ( m, n, nz_num, rowcol );

  r8ncf_print_some ( m, n, nz_num, rowcol, a, 1, 2, 5, 4, ...
    '  Rows 1-5, Cols 2-4:' );

  return
end
