RicardoSantos

MathSpecialFunctionsGamma

Library "MathSpecialFunctionsGamma"
Gamma Functions.

GammaQ(index) Enumeration of the polynomial coefficients for the "GammaLn" approximation.
Parameters:
  • index: int, 0 => index => 10, index of coeficient.
Returns: float

GammaLn(z) Computes the logarithm of the Gamma function.
Parameters:
  • z: The argument of the gamma function.
Returns: The logarithm of the gamma function.

Gamma(z) Computes the Gamma function.
Parameters:
  • z: The argument of the gamma function.
Returns: float, The logarithm of the gamma function.

GammaLowerRegularized(a, x)
Parameters:
  • a: float, The argument for the gamma function.
  • x: float, The upper integral limit.
Returns: float, The lower incomplete gamma function.

GammaUpperRegularized(a, x) Returns the upper incomplete regularized gamma function
Parameters:
  • a: float, The argument for the gamma function.
  • x: float, The lower integral limit.
Returns: float, The upper incomplete regularized gamma function.

GammaUpperIncomplete(a, x) Returns the upper incomplete gamma function.
Parameters:
  • a: float, The argument for the gamma function.
  • x: float, The lower integral limit.
Returns: float, The upper incomplete gamma function.

GammaLowerIncomplete(a, x)
Parameters:
  • a: float, The argument for the gamma function.
  • x: float, The upper integral limit.
Returns: float, The lower incomplete gamma function.
Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.