Skip to main content
Module

x/simplestatistic/src/gammaln.js

simple statistics for node & browser javascript
import * as simplestatistic from "https://deno.land/x/simplestatistic@v7.7.1/src/gammaln.js";

Functions

Compute the logarithm of the gamma function of a value using Lanczos' approximation. This function takes as input any real-value n greater than 0. This function is useful for values of n too large for the normal gamma function (n > 165). The code is based on Lanczo's Gamma approximation, defined here.