function r8ccs_print_some_test ( )

%*****************************************************************************80
%
%% r8ccs_print_some_test tests r8ccs_print_some.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    02 October 2015
%
%  Author:
%
%    John Burkardt
%
  m = 10;
  n = 10;
  nz_num = 28;

  colptr = [ 1, 3, 6, 9, 12, 15, 18, 21, 24, 27, 29 ];
  rowind = [ ...
    1,  2,  ...
    1,  2,  3, ...
    2,  3,  4, ...
    3,  4,  5, ...
    4,  5,  6, ...
    5,  6,  7, ...
    6,  7,  8, ...
    7,  8,  9, ...
    8,  9, 10, ...
    9, 10 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8ccs_print_some_test\n' );
  fprintf ( 1, '  r8ccs_print_some prints some of an r8ccs matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix rows M     = %d\n', m );
  fprintf ( 1, '  Matrix columns N  = %d\n', n );
  fprintf ( 1, '  Nonzeros NZ_NUM   = %d\n', nz_num );

  a = r8ccs_indicator ( m, n, nz_num, colptr, rowind );

  r8ccs_print_some ( m, n, nz_num, colptr, rowind, a, ...
    2, 5, 6, 8, '  Rows 2-6, Cols 5-8:' );

  return
end
