Missing @Deprecated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370215 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3ec8ebcf0
commit
8fd9c6eee0
|
@ -43,6 +43,7 @@ implements IntegerDistribution, Serializable {
|
||||||
* @deprecated As of 3.1, to be removed in 4.0. Please use the
|
* @deprecated As of 3.1, to be removed in 4.0. Please use the
|
||||||
* {@link #random} instance variable instead.
|
* {@link #random} instance variable instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
protected final RandomDataImpl randomData = new RandomDataImpl();
|
protected final RandomDataImpl randomData = new RandomDataImpl();
|
||||||
/** RNG instance used to generate samples from the distribution. */
|
/** RNG instance used to generate samples from the distribution. */
|
||||||
protected final RandomGenerator random;
|
protected final RandomGenerator random;
|
||||||
|
|
|
@ -47,6 +47,7 @@ implements RealDistribution, Serializable {
|
||||||
* @deprecated As of 3.1, to be removed in 4.0. Please use the
|
* @deprecated As of 3.1, to be removed in 4.0. Please use the
|
||||||
* {@link #random} instance variable instead.
|
* {@link #random} instance variable instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
protected final RandomDataImpl randomData = new RandomDataImpl();
|
protected final RandomDataImpl randomData = new RandomDataImpl();
|
||||||
/** RNG instance used to generate samples from the distribution. */
|
/** RNG instance used to generate samples from the distribution. */
|
||||||
protected final RandomGenerator random;
|
protected final RandomGenerator random;
|
||||||
|
|
|
@ -156,6 +156,7 @@ public class GammaDistribution extends AbstractRealDistribution {
|
||||||
* @deprecated as of version 3.1, {@link #getShape()} should be preferred.
|
* @deprecated as of version 3.1, {@link #getShape()} should be preferred.
|
||||||
* This method will be removed in version 4.0.
|
* This method will be removed in version 4.0.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public double getAlpha() {
|
public double getAlpha() {
|
||||||
return shape;
|
return shape;
|
||||||
}
|
}
|
||||||
|
@ -176,6 +177,7 @@ public class GammaDistribution extends AbstractRealDistribution {
|
||||||
* @deprecated as of version 3.1, {@link #getScale()} should be preferred.
|
* @deprecated as of version 3.1, {@link #getScale()} should be preferred.
|
||||||
* This method will be removed in version 4.0.
|
* This method will be removed in version 4.0.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public double getBeta() {
|
public double getBeta() {
|
||||||
return scale;
|
return scale;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,12 +34,14 @@ public abstract class AbstractConvergenceChecker<PAIR>
|
||||||
* @deprecated in 3.1 (to be removed in 4.0) because this value is too small
|
* @deprecated in 3.1 (to be removed in 4.0) because this value is too small
|
||||||
* to be useful as a default (cf. MATH-798).
|
* to be useful as a default (cf. MATH-798).
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * Precision.EPSILON;
|
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * Precision.EPSILON;
|
||||||
/**
|
/**
|
||||||
* Default absolute threshold.
|
* Default absolute threshold.
|
||||||
* @deprecated in 3.1 (to be removed in 4.0) because this value is too small
|
* @deprecated in 3.1 (to be removed in 4.0) because this value is too small
|
||||||
* to be useful as a default (cf. MATH-798).
|
* to be useful as a default (cf. MATH-798).
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private static final double DEFAULT_ABSOLUTE_THRESHOLD = 100 * Precision.SAFE_MIN;
|
private static final double DEFAULT_ABSOLUTE_THRESHOLD = 100 * Precision.SAFE_MIN;
|
||||||
/**
|
/**
|
||||||
* Relative tolerance threshold.
|
* Relative tolerance threshold.
|
||||||
|
|
|
@ -32,6 +32,7 @@ public class PolynomialFitter extends CurveFitter<PolynomialFunction.Parametric>
|
||||||
/** Polynomial degree.
|
/** Polynomial degree.
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private final int degree;
|
private final int degree;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -44,6 +45,7 @@ public class PolynomialFitter extends CurveFitter<PolynomialFunction.Parametric>
|
||||||
* @deprecated Since 3.1 (to be removed in 4.0). Please use
|
* @deprecated Since 3.1 (to be removed in 4.0). Please use
|
||||||
* {@link #PolynomialFitter(DifferentiableMultivariateVectorOptimizer)} instead.
|
* {@link #PolynomialFitter(DifferentiableMultivariateVectorOptimizer)} instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public PolynomialFitter(int degree, final DifferentiableMultivariateVectorOptimizer optimizer) {
|
public PolynomialFitter(int degree, final DifferentiableMultivariateVectorOptimizer optimizer) {
|
||||||
super(optimizer);
|
super(optimizer);
|
||||||
this.degree = degree;
|
this.degree = degree;
|
||||||
|
@ -67,6 +69,7 @@ public class PolynomialFitter extends CurveFitter<PolynomialFunction.Parametric>
|
||||||
* if the algorithm failed to converge.
|
* if the algorithm failed to converge.
|
||||||
* @deprecated Since 3.1 (to be removed in 4.0). Please use {@link #fit(double[])} instead.
|
* @deprecated Since 3.1 (to be removed in 4.0). Please use {@link #fit(double[])} instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public double[] fit() {
|
public double[] fit() {
|
||||||
return fit(new PolynomialFunction.Parametric(), new double[degree + 1]);
|
return fit(new PolynomialFunction.Parametric(), new double[degree + 1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue