function r8cb_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8CB_TO_R8GE_TEST tests R8CB_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 July 2016
%
%  Author:
%
%    John Burkardt
%
  m = 8;
  n = 10;
  ml = 2;
  mu = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8CB_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8CB_TO_R8GE converts an R8CB matrix to R8GE format;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix rows M      = %d\n', m );
  fprintf ( 1, '  Matrix columns N   = %d\n', n );
  fprintf ( 1, '  Lower bandwidth ML = %d\n', ml );
  fprintf ( 1, '  Upper bandwidth MU = %d\n', mu );

  a = r8cb_indicator ( m, n, ml, mu );

  r8cb_print ( m, n, ml, mu, a, '  The R8CB matrix:' );

  a_r8ge = r8cb_to_r8ge ( m, n, ml, mu, a );

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

  return
end
