function x = anglit_sample ( )

%*****************************************************************************80
%
%% anglit_sample() samples the Anglit PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 April 2022
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real X, a sample of the PDF.
%
  cdf = rand ( 1, 1 );

  x = anglit_cdf_inv ( cdf );

  return
end
