function a = r8vec_indicator ( n )

%*****************************************************************************80
%
%% r8vec_indicator() sets an R8VEC to the indicator vector.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of entries in the vector.
%
%  Output:
%
%    real A(N), the vector with entries (1, 2, ..., N ).
%
  a = ( 1 : n );

  return
end
