function a = r8cvv_iinc ( mn, a, m, roff, i, j, daij )

%*****************************************************************************80
%
%% r8cvv_iinc() increments item J from row I in an R8CVV.
%
%  Discussion:
%
%    An R8CVV is a "vector of vectors" of R8's.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 November 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer MN, the size of the cell array.
%
%    real A(MN), the cell array.
%
%    integer M, the number of rows in the array.
%
%    integer ROFF(M+1), the row offsets.
%
%    integer I, the row of the item.
%    1 <= I <= M.
%
%    integer J, the column of the item.
%    1 <= J <= NR(I).
%
%    real DAIJ, the increment to the value of item A(I,J).
%
%  Output:
%
%    real A(MN), the updated cell array.
%
  k = roff(i) + j;
  a(k) = a(k) + daij;

  return
end
