Annotation "@Override" cannot be used here (Java 5).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500402 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7fb87df294
commit
c0c42c39fc
|
@ -50,7 +50,6 @@ public class HermiteTest {
|
||||||
// is transformed to
|
// is transformed to
|
||||||
// f(y) * exp(-y^2)
|
// f(y) * exp(-y^2)
|
||||||
final UnivariateFunction f = new UnivariateFunction() {
|
final UnivariateFunction f = new UnivariateFunction() {
|
||||||
@Override
|
|
||||||
public double value(double y) {
|
public double value(double y) {
|
||||||
return oneOverSqrtPi; // Constant function.
|
return oneOverSqrtPi; // Constant function.
|
||||||
}
|
}
|
||||||
|
@ -78,7 +77,6 @@ public class HermiteTest {
|
||||||
// is transformed to
|
// is transformed to
|
||||||
// f(y) * exp(-y^2)
|
// f(y) * exp(-y^2)
|
||||||
final UnivariateFunction f = new UnivariateFunction() {
|
final UnivariateFunction f = new UnivariateFunction() {
|
||||||
@Override
|
|
||||||
public double value(double y) {
|
public double value(double y) {
|
||||||
return oneOverSqrtPi * (sqrtTwo * sigma * y + mu);
|
return oneOverSqrtPi * (sqrtTwo * sigma * y + mu);
|
||||||
}
|
}
|
||||||
|
@ -106,7 +104,6 @@ public class HermiteTest {
|
||||||
// is transformed to
|
// is transformed to
|
||||||
// f(y) * exp(-y^2)
|
// f(y) * exp(-y^2)
|
||||||
final UnivariateFunction f = new UnivariateFunction() {
|
final UnivariateFunction f = new UnivariateFunction() {
|
||||||
@Override
|
|
||||||
public double value(double y) {
|
public double value(double y) {
|
||||||
return twoOverSqrtPi * sigma2 * y * y;
|
return twoOverSqrtPi * sigma2 * y * y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue