function r8vec_to_r8ge_test ( )

%*****************************************************************************80
%
%% r8vec_to_r8ge_test() tests r8vec_to_r8ge().
%
%  Licensing:
%
%    This code is distributed under the MIT 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_r8vec = 1 : m * n;

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

  a_r8ge = r8vec_to_r8ge ( m, n, a_r8vec );

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

  return
end
