tuple_tgammatuple_tgammaTupleTgammaTupleTgamma (Operator)

Name

tuple_tgammatuple_tgammaTupleTgammaTupleTgamma — Compute the gamma function of a tuple.

Signature

tuple_tgamma( : : T : Gamma)

Herror tuple_tgamma(double T, double* Gamma)

Herror T_tuple_tgamma(const Htuple T, Htuple* Gamma)

void TupleTgamma(const HTuple& T, HTuple* Gamma)

HTuple HTuple::TupleTgamma() const

static void HOperatorSet.TupleTgamma(HTuple t, out HTuple gamma)

HTuple HTuple.TupleTgamma()

Description

tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgamma computes the gamma function of the input tuple TTTTt. 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 GammaGammaGammaGammagamma. 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_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgamma, which can be used in an expression in the following syntax:

Gamma := tgamma(T)

Execution Information

Parameters

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

Input tuple.

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

Value of the gamma function of the input tuple.

Alternatives

tuple_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgamma

Module

Foundation