Function Math Engineering Class

GammaLn

Compute the logarithm of the absolute value of the Gamma function.

Signature (Visual Basic / VBA)

Public Function GammaLn( _
    ByVal vX As Variant _
    ) As Variant

Code Example

    GammaLn(0.1) = 2.25271265173421
    GammaLn(2.5) = 0.284682870472919
    GammaLn(4.0) = 1.79175946922805
    GammaLn(200) = 857.933669825857
    GammaLn(1000) = 5905.22042320918
    GammaLn(100) = Log(Gamma(100))

Parameters

Parameter Description
vX Function returns Null if vX is Null or cannot be fixed up to a Double precision floating point number.