Module rgsl::gamma_beta

source ·
Expand description

This following routines compute the gamma and beta functions in their full and incomplete forms, as well as various kinds of factorials.

Modules

  • Although factorials can be computed from the Gamma function, using the relation n! = \Gamma(n+1) for non-negative integer n, it is usually more efficient to call the functions in this section, particularly for small values of n, whose factorial values are maintained in hardcoded tables.
  • The Gamma function is defined by the following integral,