/** * Return the domain for the given hypergeometric distribution parameters. * * @param n Population size. * @param m Number of successes in the population. * @param k Sample size. * @return a two element array containing the lower and upper bounds of the * hypergeometric distribution. */ private int[] getDomain(int n, int m, int k) { return new int[] { getLowerDomain(n, m, k), getUpperDomain(m, k) }; }
/** * Return the domain for the given hypergeometric distribution parameters. * * @param n Population size. * @param m Number of successes in the population. * @param k Sample size. * @return a two element array containing the lower and upper bounds of the * hypergeometric distribution. */ private int[] getDomain(int n, int m, int k) { return new int[] { getLowerDomain(n, m, k), getUpperDomain(m, k) }; }
/** * Return the domain for the given hypergeometric distribution parameters. * * @param n Population size. * @param m Number of successes in the population. * @param k Sample size. * @return a two element array containing the lower and upper bounds of the * hypergeometric distribution. */ private int[] getDomain(int n, int m, int k) { return new int[] { getLowerDomain(n, m, k), getUpperDomain(m, k) }; }