function cheb_test ( )

%*****************************************************************************80
%
%% cheb_test() tests cheb().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'cheb_test():\n' );
  fprintf ( 1, '  cheb() carries out Chebyshev differentiation.\n' );

  n = 5;
  [ d, x ] = cheb ( n );
  r8vec_print ( n + 1, x, '  The Chebyshev points:' );
  r8mat_print ( n + 1, n + 1, d, '  The Chebyshev differentiation matrix:' );

  return
end

