function x = genlogistic_sample ( a, b, c )

%*****************************************************************************80
%
%% genlogistic_sample() samples the Generalized Logistic PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, C, the parameters of the PDF.
%    0.0 < B,
%    0.0 < C.
%
%  Output:
%
%    real X, a sample of the PDF.
%
  cdf = rand ( 1, 1 );

  x = genlogistic_cdf_inv ( cdf, a, b, c );

  return
end
