Fixed checkstyle errors: operator placement, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4efd7a73c1
commit
3cca30313c
|
@ -353,18 +353,24 @@ public class FDistributionImpl
|
||||||
final double numeratorDF = getNumeratorDegreesOfFreedom();
|
final double numeratorDF = getNumeratorDegreesOfFreedom();
|
||||||
final double denomDFMinusTwo = denominatorDF - 2;
|
final double denomDFMinusTwo = denominatorDF - 2;
|
||||||
|
|
||||||
return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF - 2) )
|
return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF - 2) ) /
|
||||||
/ ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF - 4)) );
|
( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF - 4)) );
|
||||||
}
|
}
|
||||||
|
|
||||||
return Double.NaN;
|
return Double.NaN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isSupportLowerBoundInclusive() {
|
public boolean isSupportLowerBoundInclusive() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isSupportUpperBoundInclusive() {
|
public boolean isSupportUpperBoundInclusive() {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue