tuple_lgammatuple_lgammaTupleLgammaTupleLgamma (Operator)

Name

tuple_lgammatuple_lgammaTupleLgammaTupleLgamma — Compute the logarithm of the absolute value of the gamma function of a tuple.

Signature

tuple_lgamma( : : T : LogGamma)

Herror tuple_lgamma(double T, double* LogGamma)

Herror T_tuple_lgamma(const Htuple T, Htuple* LogGamma)

void TupleLgamma(const HTuple& T, HTuple* LogGamma)

HTuple HTuple::TupleLgamma() const

static void HOperatorSet.TupleLgamma(HTuple t, out HTuple logGamma)

HTuple HTuple.TupleLgamma()

Description

tuple_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgamma computes the logarithm of the absolute value of the gamma function of the input tuple TTTTt (for the definition of the gamma function, see tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgamma). 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 LogGammaLogGammaLogGammaLogGammalogGamma. 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_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgamma, which can be used in an expression in the following syntax:

LogGamma := lgamma(T)

Execution Information

Parameters

TTTTt (input_control)  number(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

LogGammaLogGammaLogGammaLogGammalogGamma (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Logarithm of the absolute value of the gamma function of the input tuple.

Alternatives

tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgamma

Module

Foundation