function kn = r8cvv_nget ( m, roff, nn, in, jn )

%*****************************************************************************80
%
%% r8cvv_nndx() indexes N items JN(*) from rows IN(*) in an R8CVV.
%
%  Discussion:
%
%    An R8CVV is a "vector of vectors" of R8'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 NN, the number of items.
%
%    integer IN(NN), the rows of the items.
%    1 <= IN(*) <= M.
%
%    integer JN(NN), the columns of the items.
%    1 <= JN(*) <= NR(IN(*)).
%
%  Output:
%
%    integer KN(NN), the indexes of items A(IN(*),JN(*)).
%
  kn = roff(in(1:nn)) + jn(1:nn);

  return
end
