tuple_lgammatuple_lgammaTupleLgammaTupleLgammatuple_lgamma (Operator)
Name
tuple_lgammatuple_lgammaTupleLgammaTupleLgammatuple_lgamma — Berechnen des Logarithmus' des Absolutbetrags des Werts der
Gammafunktion eines Tupels.
Signatur
Herror tuple_lgamma(double T, double* LogGamma)
Herror T_tuple_lgamma(const Htuple T, Htuple* LogGamma)
def tuple_lgamma(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_lgamma_s(t: MaybeSequence[Union[float, int]]) -> float
Beschreibung
tuple_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgammatuple_lgamma berechnet den Logarithmus des Absolutbetrags
des Werts der Gammafunktion des Eingabetupels TTTTtt (für die
Definition der Gammafunktion siehe tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgammatuple_tgamma). Sie ist
definiert für jede reelle Zahl außer für nichtpositive ganze Zahlen.
Der Logarithmus des Absolutbetrags des Werts der Gammafunktion wird
in jedem Fall als Gleitpunktzahl in LogGammaLogGammaLogGammaLogGammalogGammalog_gamma
zurückgeliefert. Der Logarithmus des Absolutbetrags des Werts der
Gammafunktion von Strings ist nicht erlaubt.
Sonderfall: Leeres Eingabetupel
Falls das Eingabetupel leer ist, gibt der Operator ein leeres Tupel zurück.
HDevelop Inline-Operation
HDevelop unterstützt eine Inline-Operation für tuple_lgammatuple_lgammaTupleLgammaTupleLgammaTupleLgammatuple_lgamma,
die innerhalb eines Ausdrucks in der folgenden Syntax verwendet
werden kann:
LogGamma := lgamma(T)
Ausführungsinformationen
- Multithreading-Typ: independent (läuft parallel auch zu exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
TTTTtt (input_control) number(-array) → HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabetupel.
LogGammaLogGammaLogGammaLogGammalogGammalog_gamma (output_control) number(-array) → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Logarithmus des Absolutbetrags des Werts der
Gammafunktion des Eingabetupels.
Alternativen
tuple_tgammatuple_tgammaTupleTgammaTupleTgammaTupleTgammatuple_tgamma
Modul
Foundation