Loadable Function: z = gsl_sf_gamma (arg1)
Loadable Function: [z, err] = gsl_sf_gamma (…)

Computes the Gamma function \Gamma(x), subject to x not being a negative integer. The function is computed using the real Lanczos method. The maximum value of x such that \Gamma(x) is not considered an overflow is given by the macro GSL_SF_GAMMA_XMAX and is 171.0.

err contains an estimate of the absolute error in the value z.

This function is from the GNU Scientific Library, see http://www.gnu.org/software/gsl/ for documentation.

Package: gsl