The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function LnBinomCoeff (n,k: integer): double;

The function LnBinomCoeff returns the logarithm of the binomial coefficient, which may advantageously be used for large expected binomial coefficients. The parameters n, and k have to be positive, with n >= k. If this condition is not fulfilled, the function returns a value of -1.

Last Update: 2023-Feb-06