Android Utililty Methods Binomial Coefficient

List of utility methods to do Binomial Coefficient

Description

The list of methods to do Binomial Coefficient are organized into topic(s).

Method

longbinomialCoefficient(final int n, final int k)
Returns an exact representation of the Binomial Coefficient, " n choose k ", the number of k -element subsets that can be selected from an n -element set.
doublebinomialCoefficientDouble(final int n, final int k)
Returns a double representation of the Binomial Coefficient, " n choose k ", the number of k -element subsets that can be selected from an n -element set.
doublebinomialCoefficientLog(final int n, final int k)
Returns the natural log of the Binomial Coefficient, " n choose k ", the number of k -element subsets that can be selected from an n -element set.
voidcheckBinomial(final int n, final int k)
Check binomial preconditions.