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

Computes the logarithm of the factorial of n, \log(n!). The algorithm is faster than computing \ln(\Gamma(n+1)) via gsl_sf_lngamma for n < 170, but defers for larger n.

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