List of utility methods to do Binomial Coefficient

long | binomialCoefficient(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. |

double | binomialCoefficientDouble(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. |

double | binomialCoefficientLog(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. |

void | checkBinomial(final int n, final int k) Check binomial preconditions. |