function r8ge_to_r8vec_test ( )

%*****************************************************************************80
%
%% R8GE_TO_R8VEC_TEST tests R8GE_TO_R8VEC.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    01 February 2016
%
%  Author:
%
%    John Burkardt
%
  m = 4;
  n = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8GE_TO_R8VEC_TEST\n' );
  fprintf ( 1, '  R8GE_TO_R8VEC converts an R8GE matrix to an R8VEC vector.\n' );

  a_r8ge = r8ge_indicator ( m, n );

  r8ge_print ( m, n, a_r8ge, '  R8GE matrix:' );

  a_r8vec = r8ge_to_r8vec ( m, n, a_r8ge );

  r8vec_print ( m * n, a_r8vec, '  Corresponding R8VEC vector:' );

  return
end
