mirror of
https://github.com/apache/commons-math.git
synced 2025-03-04 15:39:17 +00:00
Missing @Deprecated tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc15aa3895
commit
07182b1c6f
@ -23,6 +23,7 @@ package org.apache.commons.math3.analysis;
|
||||
* @since 2.0
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableMatrixFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableUnivariateMatrixFunction
|
||||
extends UnivariateMatrixFunction {
|
||||
|
||||
|
@ -23,6 +23,7 @@ package org.apache.commons.math3.analysis;
|
||||
* @since 2.0
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableVectorFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableUnivariateVectorFunction
|
||||
extends UnivariateVectorFunction {
|
||||
|
||||
|
@ -105,6 +105,7 @@ public class FunctionUtils {
|
||||
* @return the composite function.
|
||||
* @deprecated as of 3.1 replaced by {@link #compose(UnivariateDifferentiableFunction...)}
|
||||
*/
|
||||
@Deprecated
|
||||
public static DifferentiableUnivariateFunction compose(final DifferentiableUnivariateFunction ... f) {
|
||||
return new DifferentiableUnivariateFunction() {
|
||||
/** {@inheritDoc} */
|
||||
@ -279,6 +280,7 @@ public class FunctionUtils {
|
||||
* @return a function that computes the product of the functions.
|
||||
* @deprecated as of 3.1 replaced by {@link #multiply(UnivariateDifferentiableFunction...)}
|
||||
*/
|
||||
@Deprecated
|
||||
public static DifferentiableUnivariateFunction multiply(final DifferentiableUnivariateFunction ... f) {
|
||||
return new DifferentiableUnivariateFunction() {
|
||||
/** {@inheritDoc} */
|
||||
|
@ -26,5 +26,6 @@ import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
* @version $Id$
|
||||
* @deprecated as of 3.1, replaced by {@link UnivariateDifferentiableSolver}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableUnivariateSolver
|
||||
extends BaseUnivariateSolver<DifferentiableUnivariateFunction> {}
|
||||
|
@ -146,6 +146,7 @@ public interface RealDistribution {
|
||||
* function returns a non-NaN, non-infinite value there
|
||||
* @deprecated to be removed in 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
boolean isSupportLowerBoundInclusive();
|
||||
|
||||
/**
|
||||
@ -158,6 +159,7 @@ public interface RealDistribution {
|
||||
* function returns a non-NaN, non-infinite value there
|
||||
* @deprecated to be removed in 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
boolean isSupportUpperBoundInclusive();
|
||||
|
||||
/**
|
||||
|
@ -58,6 +58,7 @@ public abstract class BaseAbstractMultivariateVectorOptimizer<FUNC extends Multi
|
||||
/** Weight for the least squares cost computation.
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
private double[] weight;
|
||||
/** Initial guess. */
|
||||
private double[] start;
|
||||
|
@ -233,6 +233,7 @@ public class CMAESOptimizer
|
||||
* passed with the call to {@link #optimize(int,MultivariateFunction,GoalType,OptimizationData[])
|
||||
* optimize} (whereas in the current code it is set to an undocumented value).
|
||||
*/
|
||||
@Deprecated
|
||||
public CMAESOptimizer() {
|
||||
this(0);
|
||||
}
|
||||
@ -243,6 +244,7 @@ public class CMAESOptimizer
|
||||
* passed with the call to {@link #optimize(int,MultivariateFunction,GoalType,OptimizationData[])
|
||||
* optimize} (whereas in the current code it is set to an undocumented value)..
|
||||
*/
|
||||
@Deprecated
|
||||
public CMAESOptimizer(int lambda) {
|
||||
this(lambda, null, DEFAULT_MAXITERATIONS, DEFAULT_STOPFITNESS,
|
||||
DEFAULT_ISACTIVECMA, DEFAULT_DIAGONALONLY,
|
||||
|
@ -66,6 +66,7 @@ public class CurveFitter<T extends ParametricUnivariateFunction> {
|
||||
* @param optimizer optimizer to use for the fitting
|
||||
* @deprecated as of 3.1 replaced by {@link #CurveFitter(MultivariateDifferentiableVectorOptimizer)}
|
||||
*/
|
||||
@Deprecated
|
||||
public CurveFitter(final DifferentiableMultivariateVectorOptimizer optimizer) {
|
||||
this.oldOptimizer = optimizer;
|
||||
this.optimizer = null;
|
||||
|
@ -63,6 +63,7 @@ import org.apache.commons.math3.util.Precision;
|
||||
* @deprecated As of 3.1 (to be removed in 4.0).
|
||||
* @since 2.0
|
||||
*/
|
||||
@Deprecated
|
||||
class SimplexTableau implements Serializable {
|
||||
|
||||
/** Column label for negative vars. */
|
||||
|
@ -28,6 +28,7 @@ import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
* @deprecated to be removed in 4.0. Use {@link RandomDataGenerator} directly
|
||||
* @version $Id$
|
||||
*/
|
||||
@Deprecated
|
||||
public interface RandomData {
|
||||
/**
|
||||
* Generates a random string of hex characters of length {@code len}.
|
||||
|
@ -560,6 +560,7 @@ public class RandomDataImpl implements RandomData, Serializable {
|
||||
* @since 2.2
|
||||
* @deprecated use the distribution's sample() method
|
||||
*/
|
||||
@Deprecated
|
||||
public double nextInversionDeviate(RealDistribution distribution)
|
||||
throws MathIllegalArgumentException {
|
||||
return distribution.inverseCumulativeProbability(nextUniform(0, 1));
|
||||
@ -576,6 +577,7 @@ public class RandomDataImpl implements RandomData, Serializable {
|
||||
* @since 2.2
|
||||
* @deprecated use the distribution's sample() method
|
||||
*/
|
||||
@Deprecated
|
||||
public int nextInversionDeviate(IntegerDistribution distribution)
|
||||
throws MathIllegalArgumentException {
|
||||
return distribution.inverseCumulativeProbability(nextUniform(0, 1));
|
||||
|
@ -105,6 +105,7 @@ public class ValueServer {
|
||||
* @since 3.0
|
||||
* @deprecated use {@link #ValueServer(RandomGenerator)}
|
||||
*/
|
||||
@Deprecated
|
||||
public ValueServer(RandomDataImpl randomData) {
|
||||
this.randomData = randomData;
|
||||
}
|
||||
|
@ -359,6 +359,7 @@ public class ResizableDoubleArray implements DoubleArray, Serializable {
|
||||
* {@link #ResizableDoubleArray(int,double,double,ExpansionMode,double[])}
|
||||
* instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public ResizableDoubleArray(int initialCapacity, float expansionFactor,
|
||||
float contractionCriteria, int expansionMode) throws MathIllegalArgumentException {
|
||||
this(initialCapacity,
|
||||
@ -531,6 +532,7 @@ public class ResizableDoubleArray implements DoubleArray, Serializable {
|
||||
* @deprecated As of 3.1. Please use
|
||||
* {@link #checkContractExpand(double,double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
protected void checkContractExpand(float contraction, float expansion)
|
||||
throws MathIllegalArgumentException {
|
||||
checkContractExpand((double) contraction,
|
||||
@ -805,6 +807,7 @@ public class ResizableDoubleArray implements DoubleArray, Serializable {
|
||||
* @deprecated As of 3.1. Return value to be changed to
|
||||
* {@link ExpansionMode} in 4.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getExpansionMode() {
|
||||
switch (expansionMode) {
|
||||
case MULTIPLICATIVE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user