function bernstein_vandermonde_test ( )

%*****************************************************************************80
%
%% bernstein_vandermonde_test() tests BERNSTEIN_VANDERMONDE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'bernstein_vandermonde_test():\n' );
  fprintf ( 1, '  BERNSTEIN_VANDERMONDE returns an NxN matrix whose (I,J) entry\n' );
  fprintf ( 1, '  is the value of the J-th Bernstein polynomial of degree N-1\n' );
  fprintf ( 1, '  evaluated at the I-th equally spaced point in [0,1].\n' );

  n = 8
  a = bernstein_vandermonde ( n );
  r8mat_print ( n, n, a, '  Bernstein Vandermonde ( 8 ):' );

  return
end

