function k = i4cvv_rndx ( m, roff, i )

%*****************************************************************************80
%
%% i4cvv_rndx() indexes row I from 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.
%    1 <= I <= M.
%
%  Output:
%
%    integer K, the index of the first element of row I.
%
  k = roff(i) + 1;

  return
end
