commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1499808 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3: analysis/ analysis/solvers/ distribution/ optimization/direct/ optimization/fitting/ optimization/linear/ random/ util/
Date Thu, 04 Jul 2013 17:00:43 GMT
Author: sebb
Date: Thu Jul  4 17:00:42 2013
New Revision: 1499808

URL: http://svn.apache.org/r1499808
Log:
Missing @Deprecated tags

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateMatrixFunction.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateVectorFunction.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/FunctionUtils.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/solvers/DifferentiableUnivariateSolver.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/RealDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/BaseAbstractMultivariateVectorOptimizer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/CMAESOptimizer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/CurveFitter.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexTableau.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ResizableDoubleArray.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateMatrixFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateMatrixFunction.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateMatrixFunction.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateMatrixFunction.java
Thu Jul  4 17:00:42 2013
@@ -23,6 +23,7 @@ package org.apache.commons.math3.analysi
  * @since 2.0
  * @deprecated as of 3.1 replaced by  {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableMatrixFunction}
  */
+@Deprecated
 public interface DifferentiableUnivariateMatrixFunction
     extends UnivariateMatrixFunction {
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateVectorFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateVectorFunction.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateVectorFunction.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/DifferentiableUnivariateVectorFunction.java
Thu Jul  4 17:00:42 2013
@@ -23,6 +23,7 @@ package org.apache.commons.math3.analysi
  * @since 2.0
  * @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableVectorFunction}
  */
+@Deprecated
 public interface DifferentiableUnivariateVectorFunction
     extends UnivariateVectorFunction {
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/FunctionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/FunctionUtils.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/FunctionUtils.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/FunctionUtils.java
Thu Jul  4 17:00:42 2013
@@ -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} */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/solvers/DifferentiableUnivariateSolver.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/solvers/DifferentiableUnivariateSolver.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/solvers/DifferentiableUnivariateSolver.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/solvers/DifferentiableUnivariateSolver.java
Thu Jul  4 17:00:42 2013
@@ -26,5 +26,6 @@ import org.apache.commons.math3.analysis
  * @version $Id$
  * @deprecated as of 3.1, replaced by {@link UnivariateDifferentiableSolver}
  */
+@Deprecated
 public interface DifferentiableUnivariateSolver
     extends BaseUnivariateSolver<DifferentiableUnivariateFunction> {}

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/RealDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/RealDistribution.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/RealDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/RealDistribution.java
Thu Jul  4 17:00:42 2013
@@ -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();
 
     /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/BaseAbstractMultivariateVectorOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/BaseAbstractMultivariateVectorOptimizer.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/BaseAbstractMultivariateVectorOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/BaseAbstractMultivariateVectorOptimizer.java
Thu Jul  4 17:00:42 2013
@@ -58,6 +58,7 @@ public abstract class BaseAbstractMultiv
     /** Weight for the least squares cost computation.
      * @deprecated
      */
+    @Deprecated
     private double[] weight;
     /** Initial guess. */
     private double[] start;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/CMAESOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/CMAESOptimizer.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/CMAESOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/direct/CMAESOptimizer.java
Thu Jul  4 17:00:42 2013
@@ -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,

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/CurveFitter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/CurveFitter.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/CurveFitter.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/CurveFitter.java
Thu Jul  4 17:00:42 2013
@@ -66,6 +66,7 @@ public class CurveFitter<T extends Param
      * @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;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexTableau.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexTableau.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexTableau.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexTableau.java
Thu Jul  4 17:00:42 2013
@@ -63,6 +63,7 @@ import org.apache.commons.math3.util.Pre
  * @deprecated As of 3.1 (to be removed in 4.0).
  * @since 2.0
  */
+@Deprecated
 class SimplexTableau implements Serializable {
 
     /** Column label for negative vars. */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
Thu Jul  4 17:00:42 2013
@@ -28,6 +28,7 @@ import org.apache.commons.math3.exceptio
  * @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}.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
Thu Jul  4 17:00:42 2013
@@ -560,6 +560,7 @@ public class RandomDataImpl implements R
      * @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 R
      * @since 2.2
      * @deprecated use the distribution's sample() method
      */
+    @Deprecated
     public int nextInversionDeviate(IntegerDistribution distribution)
         throws MathIllegalArgumentException {
         return distribution.inverseCumulativeProbability(nextUniform(0, 1));

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
Thu Jul  4 17:00:42 2013
@@ -105,6 +105,7 @@ public class ValueServer {
      * @since 3.0
      * @deprecated use {@link #ValueServer(RandomGenerator)}
      */
+    @Deprecated
     public ValueServer(RandomDataImpl randomData) {
         this.randomData = randomData;
     }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ResizableDoubleArray.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ResizableDoubleArray.java?rev=1499808&r1=1499807&r2=1499808&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ResizableDoubleArray.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ResizableDoubleArray.java
Thu Jul  4 17:00:42 2013
@@ -359,6 +359,7 @@ public class ResizableDoubleArray implem
      * {@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 implem
      * @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 implem
      * @deprecated As of 3.1. Return value to be changed to
      * {@link ExpansionMode} in 4.0.
      */
+    @Deprecated
     public int getExpansionMode() {
         switch (expansionMode) {
         case MULTIPLICATIVE:



Mime
View raw message