function r8pbl_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8PBL_TO_R8GE_TEST tests R8PBL_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  ml = 2;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8PBL_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8PBL_TO_R8GE converts an R8PBL matrix to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
  fprintf ( 1, '  Bandwidth ML = %d\n', ml );

  seed = 123456789;
  [ a, seed ] = r8pbl_random ( n, ml, seed );

  r8pbl_print ( n, ml, a, '  The R8PBL matrix:' );

  a_r8ge = r8pbl_to_r8ge ( n, ml, a );

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

  return
end
