Fixed checkstyle errors: extra parens, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1a7d9a0d48
commit
21aec75a5b
|
@ -188,7 +188,7 @@ public class NormalDistributionImpl extends AbstractContinuousDistribution
|
||||||
if (FastMath.abs(dev) > 40 * standardDeviation) {
|
if (FastMath.abs(dev) > 40 * standardDeviation) {
|
||||||
return dev < 0 ? 0.0d : 1.0d;
|
return dev < 0 ? 0.0d : 1.0d;
|
||||||
}
|
}
|
||||||
return 0.5 * (1.0 + Erf.erf((dev) /
|
return 0.5 * (1.0 + Erf.erf(dev /
|
||||||
(standardDeviation * FastMath.sqrt(2.0))));
|
(standardDeviation * FastMath.sqrt(2.0))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -361,11 +361,17 @@ public class NormalDistributionImpl extends AbstractContinuousDistribution
|
||||||
return s * s;
|
return s * s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isSupportLowerBoundInclusive() {
|
public boolean isSupportLowerBoundInclusive() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isSupportUpperBoundInclusive() {
|
public boolean isSupportUpperBoundInclusive() {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue