function mean = chi_mean ( a, b, c )

%*****************************************************************************80
%
%% chi_mean() returns the mean of the Chi PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, C, the parameters of the PDF.
%    0 < B,
%    0 < C.
%
%  Output:
%
%    real MEAN, the mean value.
%
  mean = a + sqrt ( 2.0 ) * b * gamma ( 0.5 * ( c + 1.0 ) ) / gamma ( 0.5 * c );

  return
end
