function r82vec_print ( n, a, title )

%*****************************************************************************80
%
%% r82vec_print() prints a r82vec().
%
%  Discussion:
%
%    An R82VEC is a vector of R82's.
%    Each R82 is of type R8, with two entries.
%    An R82VEC may be stored as 2 by N array.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 December 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of components of the vector.
%
%    real A(2,N), the vector to be printed.
%
%    string TITLE, a title.
%
  if ( 0 < length ( title ) )
    fprintf ( 1, '\n' );
    fprintf ( 1, '%s\n', title );
  end
  fprintf ( 1, '\n' );

  for j = 1 : n
    fprintf ( 1, '  %6d: %12g  %12g\n', j, a(1:2,j) );
  end

  return
end
