function cdf = sech_cdf ( x, a, b )

%*****************************************************************************80
%
%% sech_cdf() evaluates the Hyperbolic Secant CDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, the argument of the PDF.
%
%    real A, B, the parameter of the PDF.
%    0.0 < B.
%
%  Output:
%
%    real CDF, the value of the CDF.
%
  y = ( x - a ) / b;

  cdf = 2.0 * atan ( exp ( y ) ) / pi;

  return
end
