logfactorial.m

From Spinach Documentation Wiki
Jump to: navigation, search

Logarithm of the factorial function. Avoids complications with factorials of large numbers overflowing 64-bit numbers.

Syntax

    lf=logfactorial(n)

Parameters

    n - non-negative integer number

Outputs

    lf - logarithm of the factorial of n

Notes

Double precision overflow is a persistent problem with Clebsch-Gordan coefficients and other objects that involve factorials.

See also

clebsch_gordan.m, wigner_3j.m, wigner_6j.m, acomm.m, arnoldi.m, atranspose.m, aux_mat.m, binpack.m, cheap_norm.m, cheb_coeff.m, clean_up.m, dirdiff.m, eigenfields.m, expdrop.m, expmint.m, expmint2.m, fftdiff.m, fourdif.m, fourlap.m, frob_chop.m, gaussfun.m, hdot.m, herm_spline.m, jacobianest.m, keep_rank.m, krondelta.m, kronm_new.m, lorentzcon.m, lorentzfun.m, md5_hash.m, mprealloc.m, remncomm.m, remtrace.m, rspert.m, rspt_eig.m, snormpdf.m, svd_shrink.m, tikhoind.m, tikhonov.m, trapdiff.m, unit_oper.m, unit_state.m, vvpert.m, Kernel_utilities

Version 2.8, authors: Ilya Kuprov