function cdf = cauchy_my_cdf ( x, a, b )

%*****************************************************************************80
%
%% cauchy_my_cdf() evaluates the Cauchy CDF.
%
%  Discussion:
%
%    Had to insert the idiotic "_my" in the name because Octave has a
%    similarly named function in its automatically installed package.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, the argument of the CDF.
%
%    real A, B, the parameters of the PDF.
%    0.0 < B.
%
%  Output:
%
%    real CDF, the value of the CDF.
%
  y = ( x - a ) / b;

  cdf = 0.5 + atan ( y ) / pi;

  return
end
