Stirling

Advanced Analysis Library Only

double Stirling (double x);

Purpose

Computes the Stirling approximation to the gamma function.

Parameters

Input
Name Type Description
x double-precision The point at which the function is evaluated.

Return Value

Name Type Description
result double-precision The value of the Stirling function evaluated at x.