Function Math Engineering Class

Pochhammer

Evaluate a generalization of Pochhammer's symbol.

Signature (Visual Basic / VBA)

Public Function Pochhammer( _
      ByVal vA As Variant _
    , ByVal vX As Variant _
    ) As Variant

Code Examples

    Pochhammer(1, 1) = 1
    Pochhammer(1, 2) = 2
    Pochhammer(2, 1) = 2
    Pochhammer(2, 2) = 6
    Pochhammer(3, 2) = 12
    Pochhammer(4, 1) = 4
    Pochhammer(4, 2) = 20
    Pochhammer(5, 2) = 30
    (A)-sub-X = GAMMA(A+X)/GAMMA(A)

Parameters

Parameter Description
vA Function returns Null if vA is Null or cannot be fixed up to a Double precision floating point number.
vX Function returns Null if vX is Null or cannot be fixed up to a Double precision floating point number. Evaluate a double precision generalization of Pochhammer's symbol for double precision A and X. For X a non-negative integer, Pochhammer(A,X) is just Pochhammer's symbol. This is a preliminary version that does not handle wrong arguments properly and may not properly handle the case when the result is computed to less than half of double precision.