log_gamma: A faster and accurate approximation to log factorial of a...

Description Usage Arguments

View source: R/log_gamma.R

Description

This function is more accuarte than Stirling's approximation. For more details, please check on https://en.wikipedia.org/wiki/Lanczos_approximation. The log is natural base.

Usage

1

Arguments

z

A positive integer or real number.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.