function mean = chi_square_mean ( a ) %*****************************************************************************80 % %% CHI_SQUARE_MEAN returns the mean of the central Chi squared PDF. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 06 September 2004 % % Author: % % John Burkardt % % Parameters: % % Input, real A, the parameter of the distribution. % 1 <= A. % % Output, real MEAN, the mean value. % mean = a; return end