tuple_lgammatuple_lgammaTupleLgammaTupleLgammatuple_lgamma (算子)

名称

tuple_lgammatuple_lgammaTupleLgammaTupleLgammatuple_lgamma — 计算元组伽马函数绝对值的对数。

签名

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

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

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

描述

tuple_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgammatuple_lgamma computes the logarithm of the absolute value of the gamma function of the input tuple TTTTtt (for the definition of the gamma function, see tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgammatuple_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 LogGammaLogGammaLogGammaLogGammalogGammalog_gamma. The logarithm of the absolute value of 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_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgammatuple_lgamma, which can be used in an expression in the following syntax:

LogGamma := lgamma(T)

执行信息

参数

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

Input tuple.

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

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

替代

tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgammatuple_tgamma

模块

基础