function k = i4cvv_indx ( m, roff, i, j )

%*****************************************************************************80
%
%% i4cvv_indx() indexes item J from row I in an I4CVV.
%
%  Discussion:
%
%    An I4CVV is a "vector of vectors" of I4's.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 December 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    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).
%
%  Output:
%
%    integer K, the index of item A(I,J).
%
  k = roff(i) + j;

  return
end
