Implementation of the Gamma function using the Lanczos approximation.
See https://en.wikipedia.org/wiki/Lanczos_approximation for more details.
function gamma_Lanczos extends TRANSFORM.Icons.Function; input Real z "Input value for gamma(z)"; output Real gamma "Gamma function value"; end gamma_Lanczos;