Operator Reference
tuple_lgamma (Operator)
tuple_lgamma
— Compute the logarithm of the absolute value of the gamma function of
a tuple.
Signature
Description
tuple_lgamma
computes the logarithm of the absolute value of
the gamma function of the input tuple T
(for the definition
of the gamma function, see tuple_tgamma
). It is defined for
every real number except for nonpositive integers. The logarithm of
the absolute value of the gamma function is always returned as a
floating point number in LogGamma
. The logarithm of the
absolute value of 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_lgamma
,
which can be used in an expression in the following syntax:
LogGamma := lgamma(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.
LogGamma
(output_control) number(-array) →
(real)
Logarithm of the absolute value of the gamma function of the input tuple.
Alternatives
Module
Foundation