Operator Reference
tuple_tgamma (Operator)
tuple_tgamma — Compute the gamma function of a tuple.
Signature
Description
tuple_tgamma computes the gamma function of the input
tuple T. The gamma function is defined as:
It is defined for every real number except for nonpositive
integers. For nonnegative integer , it holds that
and, more generally, for all :
The value of the gamma function is always returned as a floating
point number in Gamma. The gamma function of a string is
not allowed.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_tgamma,
which can be used in an expression in the following syntax:
Gamma := tgamma(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
T (input_control) number(-array) → (real / integer)
Input tuple.
Gamma (output_control) number(-array) → (real)
Value of the gamma function of the input tuple.
Alternatives
Module
Foundation