function bernstein_to_legendre01_matrix_test ( )

%*****************************************************************************80
%
%% bernstein_to_legendre01_matrix_test() tests bernstein_to_legendre01_matrix().
%
%  Discussion:
%
%    For this case, the Legendre polynomials have been shifted from
%    [-1,+1] to [0,1].
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 February 2024
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'bernstein_to_legendre01_matrix_test ( )\n' );
  fprintf ( 1, '  bernstein_to_legendre01_matrix() returns the matrix\n' );
  fprintf ( 1, '  which converts a polynomial from Bernstein form\n' );
  fprintf ( 1, '  to Legendre[0,1] form.\n' );

  n = 4;
  A = bernstein_to_legendre01_matrix ( n );
  fprintf ( 1, '\n' );
  disp ( A );

  return
end
