function latin_edge_test01 ( )

%*****************************************************************************80
%
%% latin_edge_test01() tests latin_edge().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    03 April 2007
%
%  Author:
%
%    John Burkardt
%
  dim_num = 2;
  point_num = 11;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'latin_edge_test01():\n' );
  fprintf ( 1, '  latin_edge() chooses a Latin cell arrangement,\n' );
  fprintf ( 1, '  which includes the edge points.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Spatial dimension = %d\n', dim_num );
  fprintf ( 1, '  Number of points =  %d\n', point_num );
 
  x = latin_edge ( dim_num, point_num );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  The Latin Edge Square points:\n' );
  fprintf ( 1, '\n' );

  for j = 1: point_num
    for i = 1: dim_num
      fprintf ( 1, '%10f  ', x(i,j) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
