Stirling's 2nd order approximation of the logarithm of a factorial.
vector of integers for which to compute the logarithmic factorial.
The logarithm of the factorial.
Kristian Hovde Liland
dLiland, Liland, Liland.test, simLiland
# Some values of the logarithm of factorials.
facL( c(2,10,100,1000) )
log( factorial( c(2,10,100,1000) ) )
# Fraction of two factorials
exp( facL(200)-facL(180) )
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.