Logarithm of the Pochhammer Symbol
Computes the logarithm of the Pochhammer symbol.
lnpochhammer(x, n)
Arguments
x
: numeric.
n
: positive integer.
Returns
Numeric value. The logarithm of the Pochhammer symbol.
Details
The Pochhammer symbol is given by:
(x)n=Γ(x)Γ(x+n)=x(x+1)...(x+n−1)
So, if n>0:
log((x)n)=log(x)+log(x+1)+...+log(x+n−1)
If n=0, log((x)n)=log(1)=0
Examples
lnpochhammer(2, 0)
lnpochhammer(2, 1)
lnpochhammer(2, 3)
See Also
pochhammer
, lauricella
Author(s)
Pierre Santagostini, Nizar Bouhlel