function r8blt_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8BLT_TO_R8GE_TEST tests R8BLT_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 October 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  ml = 3;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8BLT_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8BLT_TO_R8GE converts a matrix from R8BLT to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N     = %d\n', n );
  fprintf ( 1, '  Lower bandwidth ML = %d\n', ml );

  [ a_r8blt, seed ] = r8blt_random ( n, ml, seed );

  r8blt_print ( n, ml, a_r8blt, '  The R8BLT matrix:' );

  a_r8ge = r8blt_to_r8ge ( n, ml, a_r8blt );

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

  return
end
