Skip to content

tuple_lgammaTupleLgammaTupleLgammatuple_lgammatuple_lgamma🔗

Short description🔗

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

Signature🔗

tuple_lgamma( number T, out number LogGamma )void TupleLgamma( const HTuple& T, HTuple* LogGamma )static void HOperatorSet.TupleLgamma( HTuple t, out HTuple logGamma )def tuple_lgamma( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_lgamma_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_lgamma( double T, double* LogGamma )

Herror T_tuple_lgamma( const Htuple T, Htuple* LogGamma )

HTuple HTuple::TupleLgamma( ) const

HTuple HTuple.TupleLgamma( )

Description🔗

tuple_lgammaTupleLgamma computes the logarithm of the absolute value of the gamma function of the input tuple Ttt (for the definition of the gamma function, see tuple_tgammaTupleTgamma). 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 LogGammalogGammalog_gamma. 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_lgammaTupleLgamma, which can be used in an expression in the following syntax:

LogGamma := lgamma(T)

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Ttt (input_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Input tuple.

LogGammalogGammalog_gamma (output_control) number(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

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

Combinations with other operators🔗

Combinations

Alternatives

tuple_tgammaTupleTgamma

Module🔗

Foundation