public static double LogPochhammer(
double x,
double y
)
Public Shared Function LogPochhammer (
x As Double,
y As Double
) As Double
public:
static double LogPochhammer(
double x,
double y
)
static member LogPochhammer :
x : float *
y : float -> float
While Pochhammer(Double, Double) does not overflow for much of the parameter space for which Gamma(Double) of x or (x + y) would, there are still areas of parameter space for which it does. Additionally, for small y, Pochhammer(Double, Double) can be 1 to within floating-point accuracy, but you may still want to be able to quantify how much it differs from 1. This method overcomes both of those limitations by providing a non-overflowing value of the logarithm of the Pochammer symbol over its entire parameter space.
ArgumentOutOfRangeException | x is negative or (x + y) is negative. |