In classes o.a.c.m3.special.Gamma and o.a.c.m3.special.Beta, made some

auxiliary functions package private. It is very unlikely that these functions
should be used outside this package, and if necessary, it will always be
possible to increase their visibility (while the reverse would break
compatibility).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413807 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastien Brisard 2012-11-26 19:55:07 +00:00
parent fec7740958
commit 4673043763
2 changed files with 4 additions and 4 deletions

View File

@ -282,7 +282,7 @@ public class Beta {
* @return the value of {@code Delta(p) + Delta(q) - Delta(p + q)}.
* @throws NumberIsTooSmallException if {@code p < 10.0} or {@code q < 10.0}.
*/
public static final double bcorr(final double p, final double q) {
static final double bcorr(final double p, final double q) {
if (p < 10.0) {
throw new NumberIsTooSmallException(p, 10.0, true);

View File

@ -779,7 +779,7 @@ public class Gamma {
* @throws OutOfRangeException if {@code a} or {@code b} is lower than
* {@code 1.0} or greater than {@code 2.0}.
*/
public static double logGammaSum(final double a, final double b)
static double logGammaSum(final double a, final double b)
throws OutOfRangeException {
if ((a < 1.0) || (a > 2.0)) {
@ -809,8 +809,8 @@ public class Gamma {
* @return the value of {@code log(Gamma(b) / Gamma(a + b))}.
* @throws NumberIsTooSmallException if {@code a < 0.0} or {@code b < 8.0}.
*/
public static final double logGammaMinusLogGammaSum(final double a,
final double b)
static final double logGammaMinusLogGammaSum(final double a,
final double b)
throws NumberIsTooSmallException {
if (a < 0.0) {