function a = r8pp_zeros ( n )

%*****************************************************************************80
%
%% R8PP_ZEROS zeros an R8PP matrix.
%
%  Discussion:
%
%    The R8PP storage format is appropriate for a symmetric positive
%    definite matrix.  Only the upper triangle of the matrix is stored,
%    by successive partial columns, in an array of length (N*(N+1))/2,
%    which contains (A11,A12,A22,A13,A23,A33,A14,...,ANN)  
%
%    The matrix is computed by setting a "random" upper triangular
%    Cholesky factor R, and then computing A = R'*R.
%    The randomness is limited by the fact that all the entries of
%    R will be between 0 and 1.  A truly random R is only required
%    to have positive entries on the diagonal.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 August 2015
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, the order of the matrix.
%    N must be positive.
%
%    Output, real A((N*(N+1))/2), the R8PP matrix.
%
  nn = ( n * ( n + 1 ) ) / 2;
  a = zeros ( nn, 1 );

  return
end
