tuple_tgammatuple_tgammaTupleTgammaTupleTgammatuple_tgamma (算子)

名称

tuple_tgammatuple_tgammaTupleTgammaTupleTgammatuple_tgamma — 计算元组的伽马函数。

签名

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()

def tuple_tgamma(t: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_tgamma_s(t: MaybeSequence[Union[float, int]]) -> float

描述

tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgammatuple_tgamma computes the gamma function of the input tuple TTTTtt. 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 GammaGammaGammaGammagammagamma. The gamma function of a string is not allowed.

例外:空输入元组

If the input tuple is empty, the operator returns an empty tuple.

HDevelop 内联操作

HDevelop provides an in-line operation for tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgammatuple_tgamma, which can be used in an expression in the following syntax:

Gamma := tgamma(T)

执行信息

参数

TTTTtt (输入控制)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

GammaGammaGammaGammagammagamma (输出控制)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Value of the gamma function of the input tuple.

替代

tuple_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgammatuple_lgamma

模块

基础