Skip to main content

lgamma

Overloads​

NameDescription
lgamma(real p) -> realCalculates the natural logarithm of the absolute value of the gamma function of the given value.
lgamma(integer p) -> realCalculates the natural logarithm of the absolute value of the gamma function of the given value.
lgamma(bool p) -> realCalculates the natural logarithm of the absolute value of the gamma function of the given value.

lgamma(real p) -> real​

Calculates the natural logarithm of the absolute value of the gamma function of the given value.

Parameters​

  • p: The value to calculate the log gamma function for.

lgamma(integer p) -> real​

Calculates the natural logarithm of the absolute value of the gamma function of the given value.

Parameters​

  • p: The value to calculate the log gamma function for.

lgamma(bool p) -> real​

Calculates the natural logarithm of the absolute value of the gamma function of the given value.

Parameters​

  • p: The value to calculate the log gamma function for.