function r8vec_identity_row_test ( )

%*****************************************************************************80
%
%% R8VEC_IDENTITY_ROW_TEST tests R8VEC_IDENTITY_ROW.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    28 March 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_IDENTITY_ROW_TEST\n' );
  fprintf ( 1, '  R8VEC_IDENTITY_ROW returns a row of the identity matrix.\n' );
  fprintf ( 1, '\n' );

  n = 5;
  for i = 0 : 6
    a = r8vec_identity_row ( n, i );
    fprintf ( 1, '%d: ', i );
    for j = 1 : n
      fprintf ( 1, ' %d', a(j) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
