commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1244107 [10/18] - in /commons/proper/math/trunk: ./ src/main/java/org/apache/commons/math/ src/main/java/org/apache/commons/math3/ src/main/java/org/apache/commons/math3/analysis/ src/main/java/org/apache/commons/math3/analysis/function/ s...
Date Tue, 14 Feb 2012 16:18:50 GMT
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java Tue Feb 14 16:17:55 2012
@@ -15,26 +15,26 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.fitting;
+package org.apache.commons.math3.optimization.fitting;
 
 import java.util.Arrays;
 import java.util.Comparator;
 
-import org.apache.commons.math.analysis.function.Gaussian;
-import org.apache.commons.math.analysis.ParametricUnivariateFunction;
-import org.apache.commons.math.exception.NullArgumentException;
-import org.apache.commons.math.exception.NumberIsTooSmallException;
-import org.apache.commons.math.exception.OutOfRangeException;
-import org.apache.commons.math.exception.ZeroException;
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer;
-import org.apache.commons.math.optimization.fitting.CurveFitter;
-import org.apache.commons.math.optimization.fitting.WeightedObservedPoint;
+import org.apache.commons.math3.analysis.function.Gaussian;
+import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
+import org.apache.commons.math3.exception.NullArgumentException;
+import org.apache.commons.math3.exception.NumberIsTooSmallException;
+import org.apache.commons.math3.exception.OutOfRangeException;
+import org.apache.commons.math3.exception.ZeroException;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer;
+import org.apache.commons.math3.optimization.fitting.CurveFitter;
+import org.apache.commons.math3.optimization.fitting.WeightedObservedPoint;
 
 /**
  * Fits points to a {@link
- * org.apache.commons.math.analysis.function.Gaussian.Parametric Gaussian} function.
+ * org.apache.commons.math3.analysis.function.Gaussian.Parametric Gaussian} function.
  * <p>
  * Usage example:
  * <pre>
@@ -124,7 +124,7 @@ public class GaussianFitter extends Curv
 
     /**
      * Guesses the parameters {@code norm}, {@code mean}, and {@code sigma}
-     * of a {@link org.apache.commons.math.analysis.function.Gaussian.Parametric}
+     * of a {@link org.apache.commons.math3.analysis.function.Gaussian.Parametric}
      * based on the specified observed points.
      */
     public static class ParameterGuesser {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/HarmonicFitter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/HarmonicFitter.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/HarmonicFitter.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/HarmonicFitter.java Tue Feb 14 16:17:55 2012
@@ -15,14 +15,14 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.fitting;
+package org.apache.commons.math3.optimization.fitting;
 
-import org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer;
-import org.apache.commons.math.analysis.function.HarmonicOscillator;
-import org.apache.commons.math.exception.ZeroException;
-import org.apache.commons.math.exception.NumberIsTooSmallException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer;
+import org.apache.commons.math3.analysis.function.HarmonicOscillator;
+import org.apache.commons.math3.exception.ZeroException;
+import org.apache.commons.math3.exception.NumberIsTooSmallException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.util.FastMath;
 
 /**
  * Class that implements a curve fitting specialized for sinusoids.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java Tue Feb 14 16:17:55 2012
@@ -15,10 +15,10 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.fitting;
+package org.apache.commons.math3.optimization.fitting;
 
-import org.apache.commons.math.analysis.polynomials.PolynomialFunction;
-import org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer;
+import org.apache.commons.math3.analysis.polynomials.PolynomialFunction;
+import org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer;
 
 /** This class implements a curve fitting specialized for polynomials.
  * <p>Polynomial fitting is a very simple case of curve fitting. The
@@ -49,7 +49,7 @@ public class PolynomialFitter extends Cu
      * Get the polynomial fitting the weighted (x, y) points.
      *
      * @return the coefficients of the polynomial that best fits the observed points.
-     * @throws org.apache.commons.math.exception.ConvergenceException
+     * @throws org.apache.commons.math3.exception.ConvergenceException
      * if the algorithm failed to converge.
      */
     public double[] fit() {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/WeightedObservedPoint.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/WeightedObservedPoint.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/WeightedObservedPoint.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/WeightedObservedPoint.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.fitting;
+package org.apache.commons.math3.optimization.fitting;
 
 import java.io.Serializable;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/package-info.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/package-info.java Tue Feb 14 16:17:55 2012
@@ -27,4 +27,4 @@
  *
  *
  */
-package org.apache.commons.math.optimization.fitting;
+package org.apache.commons.math3.optimization.fitting;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,21 +15,21 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
-import org.apache.commons.math.exception.NumberIsTooSmallException;
-import org.apache.commons.math.exception.DimensionMismatchException;
-import org.apache.commons.math.analysis.DifferentiableMultivariateVectorFunction;
-import org.apache.commons.math.analysis.MultivariateMatrixFunction;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.linear.QRDecomposition;
-import org.apache.commons.math.linear.DecompositionSolver;
-import org.apache.commons.math.linear.MatrixUtils;
-import org.apache.commons.math.optimization.ConvergenceChecker;
-import org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer;
-import org.apache.commons.math.optimization.PointVectorValuePair;
-import org.apache.commons.math.optimization.direct.BaseAbstractMultivariateVectorOptimizer;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.exception.NumberIsTooSmallException;
+import org.apache.commons.math3.exception.DimensionMismatchException;
+import org.apache.commons.math3.analysis.DifferentiableMultivariateVectorFunction;
+import org.apache.commons.math3.analysis.MultivariateMatrixFunction;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.linear.QRDecomposition;
+import org.apache.commons.math3.linear.DecompositionSolver;
+import org.apache.commons.math3.linear.MatrixUtils;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
+import org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer;
+import org.apache.commons.math3.optimization.PointVectorValuePair;
+import org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer;
+import org.apache.commons.math3.util.FastMath;
 
 /**
  * Base class for implementing least squares optimizers.
@@ -83,7 +83,7 @@ public abstract class AbstractLeastSquar
     /**
      * Simple constructor with default settings.
      * The convergence check is set to a {@link
-     * org.apache.commons.math.optimization.SimpleVectorValueChecker}.
+     * org.apache.commons.math3.optimization.SimpleVectorValueChecker}.
      */
     protected AbstractLeastSquaresOptimizer() {}
     /**
@@ -129,7 +129,7 @@ public abstract class AbstractLeastSquar
      * Update the residuals array and cost function value.
      * @throws DimensionMismatchException if the dimension does not match the
      * problem dimension.
-     * @throws org.apache.commons.math.exception.TooManyEvaluationsException
+     * @throws org.apache.commons.math3.exception.TooManyEvaluationsException
      * if the maximal number of evaluations is exceeded.
      */
     protected void updateResidualsAndCost() {
@@ -178,7 +178,7 @@ public abstract class AbstractLeastSquar
      * Get the covariance matrix of the optimized parameters.
      *
      * @return the covariance matrix.
-     * @throws org.apache.commons.math.linear.SingularMatrixException
+     * @throws org.apache.commons.math3.linear.SingularMatrixException
      * if the covariance matrix cannot be computed (singular problem).
      *
      * @see #getCovariances(double)
@@ -199,7 +199,7 @@ public abstract class AbstractLeastSquar
      *
      * @param threshold Singularity threshold.
      * @return the covariance matrix.
-     * @throws org.apache.commons.math.linear.SingularMatrixException
+     * @throws org.apache.commons.math3.linear.SingularMatrixException
      * if the covariance matrix cannot be computed (singular problem).
      */
     public double[][] getCovariances(double threshold) {
@@ -230,7 +230,7 @@ public abstract class AbstractLeastSquar
      * Guessing is covariance-based: It only gives a rough order of magnitude.
      *
      * @return errors in optimized parameters
-     * @throws org.apache.commons.math.linear.SingularMatrixException
+     * @throws org.apache.commons.math3.linear.SingularMatrixException
      * if the covariances matrix cannot be computed.
      * @throws NumberIsTooSmallException if the number of degrees of freedom is not
      * positive, i.e. the number of measurements is less or equal to the number of

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractScalarDifferentiableOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractScalarDifferentiableOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractScalarDifferentiableOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/AbstractScalarDifferentiableOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,15 +15,15 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
-import org.apache.commons.math.analysis.DifferentiableMultivariateFunction;
-import org.apache.commons.math.analysis.MultivariateVectorFunction;
-import org.apache.commons.math.optimization.DifferentiableMultivariateOptimizer;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.ConvergenceChecker;
-import org.apache.commons.math.optimization.PointValuePair;
-import org.apache.commons.math.optimization.direct.BaseAbstractMultivariateOptimizer;
+import org.apache.commons.math3.analysis.DifferentiableMultivariateFunction;
+import org.apache.commons.math3.analysis.MultivariateVectorFunction;
+import org.apache.commons.math3.optimization.DifferentiableMultivariateOptimizer;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
+import org.apache.commons.math3.optimization.PointValuePair;
+import org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer;
 
 /**
  * Base class for implementing optimizers for multivariate scalar
@@ -44,7 +44,7 @@ public abstract class AbstractScalarDiff
     /**
      * Simple constructor with default settings.
      * The convergence check is set to a
-     * {@link org.apache.commons.math.optimization.SimpleValueChecker
+     * {@link org.apache.commons.math3.optimization.SimpleValueChecker
      * SimpleValueChecker}.
      */
     protected AbstractScalarDifferentiableOptimizer() {}
@@ -60,7 +60,7 @@ public abstract class AbstractScalarDiff
      *
      * @param evaluationPoint Point at which the gradient must be evaluated.
      * @return the gradient at the specified point.
-     * @throws org.apache.commons.math.exception.TooManyEvaluationsException
+     * @throws org.apache.commons.math3.exception.TooManyEvaluationsException
      * if the allowed number of evaluations is exceeded.
      */
     protected double[] computeObjectiveGradient(final double[] evaluationPoint) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/ConjugateGradientFormula.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/ConjugateGradientFormula.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/ConjugateGradientFormula.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/ConjugateGradientFormula.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
 /**
  * Available choices of update formulas for the &beta; parameter

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/GaussNewtonOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,20 +15,20 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
-import org.apache.commons.math.exception.ConvergenceException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.linear.ArrayRealVector;
-import org.apache.commons.math.linear.BlockRealMatrix;
-import org.apache.commons.math.linear.DecompositionSolver;
-import org.apache.commons.math.linear.LUDecomposition;
-import org.apache.commons.math.linear.QRDecomposition;
-import org.apache.commons.math.linear.RealMatrix;
-import org.apache.commons.math.linear.SingularMatrixException;
-import org.apache.commons.math.optimization.ConvergenceChecker;
-import org.apache.commons.math.optimization.SimpleVectorValueChecker;
-import org.apache.commons.math.optimization.PointVectorValuePair;
+import org.apache.commons.math3.exception.ConvergenceException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.linear.ArrayRealVector;
+import org.apache.commons.math3.linear.BlockRealMatrix;
+import org.apache.commons.math3.linear.DecompositionSolver;
+import org.apache.commons.math3.linear.LUDecomposition;
+import org.apache.commons.math3.linear.QRDecomposition;
+import org.apache.commons.math3.linear.RealMatrix;
+import org.apache.commons.math3.linear.SingularMatrixException;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
+import org.apache.commons.math3.optimization.SimpleVectorValueChecker;
+import org.apache.commons.math3.optimization.PointVectorValuePair;
 
 /**
  * Gauss-Newton least-squares solver.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/LevenbergMarquardtOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/LevenbergMarquardtOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/LevenbergMarquardtOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/LevenbergMarquardtOptimizer.java Tue Feb 14 16:17:55 2012
@@ -14,16 +14,16 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
 import java.util.Arrays;
 
-import org.apache.commons.math.exception.ConvergenceException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.optimization.PointVectorValuePair;
-import org.apache.commons.math.optimization.ConvergenceChecker;
-import org.apache.commons.math.util.Precision;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.exception.ConvergenceException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.optimization.PointVectorValuePair;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
+import org.apache.commons.math3.util.Precision;
+import org.apache.commons.math3.util.FastMath;
 
 
 /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/NonLinearConjugateGradientOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/NonLinearConjugateGradientOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/NonLinearConjugateGradientOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/NonLinearConjugateGradientOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,18 +15,18 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.analysis.UnivariateFunction;
-import org.apache.commons.math.analysis.solvers.BrentSolver;
-import org.apache.commons.math.analysis.solvers.UnivariateSolver;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.PointValuePair;
-import org.apache.commons.math.optimization.SimpleValueChecker;
-import org.apache.commons.math.optimization.ConvergenceChecker;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.analysis.UnivariateFunction;
+import org.apache.commons.math3.analysis.solvers.BrentSolver;
+import org.apache.commons.math3.analysis.solvers.UnivariateSolver;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.PointValuePair;
+import org.apache.commons.math3.optimization.SimpleValueChecker;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
+import org.apache.commons.math3.util.FastMath;
 
 /**
  * Non-linear conjugate gradient optimizer.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/Preconditioner.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/Preconditioner.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/Preconditioner.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/Preconditioner.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;
 
 /**
  * This interface represents a preconditioner for differentiable scalar

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/package-info.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/general/package-info.java Tue Feb 14 16:17:55 2012
@@ -19,4 +19,4 @@
  * This package provides optimization algorithms that require derivatives.
  *
  */
-package org.apache.commons.math.optimization.general;
+package org.apache.commons.math3.optimization.general;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/AbstractLinearOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/AbstractLinearOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/AbstractLinearOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/AbstractLinearOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,14 +15,14 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 import java.util.Collection;
 
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.exception.MaxCountExceededException;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.PointValuePair;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.exception.MaxCountExceededException;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.PointValuePair;
 
 /**
  * Base class for implementing linear optimizers.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearConstraint.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearConstraint.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearConstraint.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearConstraint.java Tue Feb 14 16:17:55 2012
@@ -15,16 +15,16 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
 import java.io.Serializable;
 
-import org.apache.commons.math.linear.MatrixUtils;
-import org.apache.commons.math.linear.RealVector;
-import org.apache.commons.math.linear.ArrayRealVector;
+import org.apache.commons.math3.linear.MatrixUtils;
+import org.apache.commons.math3.linear.RealVector;
+import org.apache.commons.math3.linear.ArrayRealVector;
 
 
 /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearObjectiveFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearObjectiveFunction.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearObjectiveFunction.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearObjectiveFunction.java Tue Feb 14 16:17:55 2012
@@ -15,16 +15,16 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
 import java.io.Serializable;
 
-import org.apache.commons.math.linear.MatrixUtils;
-import org.apache.commons.math.linear.RealVector;
-import org.apache.commons.math.linear.ArrayRealVector;
+import org.apache.commons.math3.linear.MatrixUtils;
+import org.apache.commons.math3.linear.RealVector;
+import org.apache.commons.math3.linear.ArrayRealVector;
 
 /**
  * An objective function for a linear optimization problem.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/LinearOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,13 +15,13 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 import java.util.Collection;
 
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.PointValuePair;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.PointValuePair;
 
 /**
  * This interface represents an optimization algorithm for linear problems.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/NoFeasibleSolutionException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/NoFeasibleSolutionException.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/NoFeasibleSolutionException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/NoFeasibleSolutionException.java Tue Feb 14 16:17:55 2012
@@ -15,10 +15,10 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
 
 /**
  * This class represents exceptions thrown by optimizers when no solution

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/Relationship.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/Relationship.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/Relationship.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/Relationship.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 /**
  * Types of relationships between two cells in a Solver {@link LinearConstraint}.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexSolver.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexSolver.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexSolver.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/SimplexSolver.java Tue Feb 14 16:17:55 2012
@@ -15,14 +15,14 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.commons.math.exception.MaxCountExceededException;
-import org.apache.commons.math.optimization.PointValuePair;
-import org.apache.commons.math.util.Precision;
+import org.apache.commons.math3.exception.MaxCountExceededException;
+import org.apache.commons.math3.optimization.PointValuePair;
+import org.apache.commons.math3.util.Precision;
 
 
 /**

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=1244107&r1=1243975&r2=1244107&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 Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
 import java.io.IOException;
 import java.io.ObjectInputStream;
@@ -27,13 +27,13 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
-import org.apache.commons.math.linear.Array2DRowRealMatrix;
-import org.apache.commons.math.linear.MatrixUtils;
-import org.apache.commons.math.linear.RealMatrix;
-import org.apache.commons.math.linear.RealVector;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.PointValuePair;
-import org.apache.commons.math.util.Precision;
+import org.apache.commons.math3.linear.Array2DRowRealMatrix;
+import org.apache.commons.math3.linear.MatrixUtils;
+import org.apache.commons.math3.linear.RealMatrix;
+import org.apache.commons.math3.linear.RealVector;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.PointValuePair;
+import org.apache.commons.math3.util.Precision;
 
 /**
  * A tableau for use in the Simplex method.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/UnboundedSolutionException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/UnboundedSolutionException.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/UnboundedSolutionException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/UnboundedSolutionException.java Tue Feb 14 16:17:55 2012
@@ -15,10 +15,10 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;
 
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
 
 /**
  * This class represents exceptions thrown by optimizers when a solution

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/package-info.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/linear/package-info.java Tue Feb 14 16:17:55 2012
@@ -19,4 +19,4 @@
  * This package provides optimization algorithms for linear constrained problems.
  *
  */
-package org.apache.commons.math.optimization.linear;
+package org.apache.commons.math3.optimization.linear;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/package-info.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/package-info.java Tue Feb 14 16:17:55 2012
@@ -32,32 +32,32 @@
  * interfaces defining the common behavior of optimizers, one for each supported type of objective
  * function:
  * <ul>
- *  <li>{@link org.apache.commons.math.optimization.univariate.UnivariateRealOptimizer
- *      UnivariateRealOptimizer} for {@link org.apache.commons.math.analysis.UnivariateFunction
+ *  <li>{@link org.apache.commons.math3.optimization.univariate.UnivariateRealOptimizer
+ *      UnivariateRealOptimizer} for {@link org.apache.commons.math3.analysis.UnivariateFunction
  *      univariate real functions}</li>
- *  <li>{@link org.apache.commons.math.optimization.MultivariateOptimizer
- *      MultivariateOptimizer} for {@link org.apache.commons.math.analysis.MultivariateFunction
+ *  <li>{@link org.apache.commons.math3.optimization.MultivariateOptimizer
+ *      MultivariateOptimizer} for {@link org.apache.commons.math3.analysis.MultivariateFunction
  *      multivariate real functions}</li>
- *  <li>{@link org.apache.commons.math.optimization.DifferentiableMultivariateOptimizer
+ *  <li>{@link org.apache.commons.math3.optimization.DifferentiableMultivariateOptimizer
  *      DifferentiableMultivariateOptimizer} for {@link
- *      org.apache.commons.math.analysis.DifferentiableMultivariateFunction
+ *      org.apache.commons.math3.analysis.DifferentiableMultivariateFunction
  *      differentiable multivariate real functions}</li>
- *  <li>{@link org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer
+ *  <li>{@link org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer
  *      DifferentiableMultivariateVectorOptimizer} for {@link
- *      org.apache.commons.math.analysis.DifferentiableMultivariateVectorFunction
+ *      org.apache.commons.math3.analysis.DifferentiableMultivariateVectorFunction
  *      differentiable multivariate vectorial functions}</li>
  * </ul>
  * </p>
  *
  * <p>
  * Despite there are only four types of supported optimizers, it is possible to optimize a
- * transform a {@link org.apache.commons.math.analysis.MultivariateVectorFunction
+ * transform a {@link org.apache.commons.math3.analysis.MultivariateVectorFunction
  * non-differentiable multivariate vectorial function} by converting it to a {@link
- * org.apache.commons.math.analysis.MultivariateFunction non-differentiable multivariate
+ * org.apache.commons.math3.analysis.MultivariateFunction non-differentiable multivariate
  * real function} thanks to the {@link
- * org.apache.commons.math.optimization.LeastSquaresConverter LeastSquaresConverter} helper class.
+ * org.apache.commons.math3.optimization.LeastSquaresConverter LeastSquaresConverter} helper class.
  * The transformed function can be optimized using any implementation of the {@link
- * org.apache.commons.math.optimization.MultivariateOptimizer MultivariateOptimizer} interface.
+ * org.apache.commons.math3.optimization.MultivariateOptimizer MultivariateOptimizer} interface.
  * </p>
  *
  * <p>
@@ -69,4 +69,4 @@
  * </p>
  *
  */
-package org.apache.commons.math.optimization;
+package org.apache.commons.math3.optimization;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseAbstractUnivariateOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseAbstractUnivariateOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseAbstractUnivariateOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseAbstractUnivariateOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,15 +15,15 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
-import org.apache.commons.math.util.Incrementor;
-import org.apache.commons.math.exception.MaxCountExceededException;
-import org.apache.commons.math.exception.TooManyEvaluationsException;
-import org.apache.commons.math.exception.NullArgumentException;
-import org.apache.commons.math.analysis.UnivariateFunction;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.ConvergenceChecker;
+import org.apache.commons.math3.util.Incrementor;
+import org.apache.commons.math3.exception.MaxCountExceededException;
+import org.apache.commons.math3.exception.TooManyEvaluationsException;
+import org.apache.commons.math3.exception.NullArgumentException;
+import org.apache.commons.math3.analysis.UnivariateFunction;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
 
 /**
  * Provide a default implementation for several functions useful to generic

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseUnivariateOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseUnivariateOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseUnivariateOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BaseUnivariateOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,18 +15,18 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
-import org.apache.commons.math.analysis.UnivariateFunction;
-import org.apache.commons.math.optimization.BaseOptimizer;
-import org.apache.commons.math.optimization.GoalType;
+import org.apache.commons.math3.analysis.UnivariateFunction;
+import org.apache.commons.math3.optimization.BaseOptimizer;
+import org.apache.commons.math3.optimization.GoalType;
 
 /**
  * This interface is mainly intended to enforce the internal coherence of
  * Commons-Math. Users of the API are advised to base their code on
  * the following interfaces:
  * <ul>
- *  <li>{@link org.apache.commons.math.optimization.univariate.UnivariateRealOptimizer}</li>
+ *  <li>{@link org.apache.commons.math3.optimization.univariate.UnivariateRealOptimizer}</li>
  * </ul>
  *
  * @param <FUNC> Type of the objective function to be optimized.
@@ -48,9 +48,9 @@ public interface BaseUnivariateOptimizer
      * @param max Upper bound for the interval.
      * @param maxEval Maximum number of function evaluations.
      * @return a (point, value) pair where the function is optimum.
-     * @throws org.apache.commons.math.exception.TooManyEvaluationsException
+     * @throws org.apache.commons.math3.exception.TooManyEvaluationsException
      * if the maximum evaluation count is exceeded.
-     * @throws org.apache.commons.math.exception.ConvergenceException
+     * @throws org.apache.commons.math3.exception.ConvergenceException
      * if the optimizer detects a convergence problem.
      * @throws IllegalArgumentException if {@code min > max} or the endpoints
      * do not satisfy the requirements specified by the optimizer.
@@ -70,13 +70,13 @@ public interface BaseUnivariateOptimizer
      * @param startValue Start value to use.
      * @param maxEval Maximum number of function evaluations.
      * @return a (point, value) pair where the function is optimum.
-     * @throws org.apache.commons.math.exception.TooManyEvaluationsException
+     * @throws org.apache.commons.math3.exception.TooManyEvaluationsException
      * if the maximum evaluation count is exceeded.
-     * @throws org.apache.commons.math.exception.ConvergenceException if the
+     * @throws org.apache.commons.math3.exception.ConvergenceException if the
      * optimizer detects a convergence problem.
      * @throws IllegalArgumentException if {@code min > max} or the endpoints
      * do not satisfy the requirements specified by the optimizer.
-     * @throws org.apache.commons.math.exception.NullArgumentException if any
+     * @throws org.apache.commons.math3.exception.NullArgumentException if any
      * argument is {@code null}.
      */
     UnivariatePointValuePair optimize(int maxEval, FUNC f, GoalType goalType,

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BracketFinder.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BracketFinder.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BracketFinder.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BracketFinder.java Tue Feb 14 16:17:55 2012
@@ -14,14 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
-import org.apache.commons.math.util.Incrementor;
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.exception.TooManyEvaluationsException;
-import org.apache.commons.math.exception.MaxCountExceededException;
-import org.apache.commons.math.analysis.UnivariateFunction;
-import org.apache.commons.math.optimization.GoalType;
+import org.apache.commons.math3.util.Incrementor;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.exception.TooManyEvaluationsException;
+import org.apache.commons.math3.exception.MaxCountExceededException;
+import org.apache.commons.math3.analysis.UnivariateFunction;
+import org.apache.commons.math3.optimization.GoalType;
 
 /**
  * Provide an interval that brackets a local optimum of a function.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BrentOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BrentOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BrentOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/BrentOptimizer.java Tue Feb 14 16:17:55 2012
@@ -14,14 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
-import org.apache.commons.math.util.Precision;
-import org.apache.commons.math.util.FastMath;
-import org.apache.commons.math.exception.NumberIsTooSmallException;
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.optimization.ConvergenceChecker;
-import org.apache.commons.math.optimization.GoalType;
+import org.apache.commons.math3.util.Precision;
+import org.apache.commons.math3.util.FastMath;
+import org.apache.commons.math3.exception.NumberIsTooSmallException;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
+import org.apache.commons.math3.optimization.GoalType;
 
 /**
  * Implements Richard Brent's algorithm (from his book "Algorithms for

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateMultiStartOptimizer.java Tue Feb 14 16:17:55 2012
@@ -15,19 +15,19 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
 import java.util.Arrays;
 import java.util.Comparator;
 
-import org.apache.commons.math.analysis.UnivariateFunction;
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.exception.NullArgumentException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.random.RandomGenerator;
-import org.apache.commons.math.optimization.GoalType;
-import org.apache.commons.math.optimization.ConvergenceChecker;
+import org.apache.commons.math3.analysis.UnivariateFunction;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.exception.NullArgumentException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.random.RandomGenerator;
+import org.apache.commons.math3.optimization.GoalType;
+import org.apache.commons.math3.optimization.ConvergenceChecker;
 
 /**
  * Special implementation of the {@link UnivariateRealOptimizer} interface

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariatePointValuePair.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariatePointValuePair.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariatePointValuePair.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariatePointValuePair.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
 import java.io.Serializable;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateRealOptimizer.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/UnivariateRealOptimizer.java Tue Feb 14 16:17:55 2012
@@ -14,9 +14,9 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;
 
-import org.apache.commons.math.analysis.UnivariateFunction;
+import org.apache.commons.math3.analysis.UnivariateFunction;
 
 /**
  * Interface for univariate optimization algorithms.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/package-info.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/univariate/package-info.java Tue Feb 14 16:17:55 2012
@@ -19,4 +19,4 @@
  *     Univariate real functions minimum finding algorithms.
  *
  */
-package org.apache.commons.math.optimization.univariate;
+package org.apache.commons.math3.optimization.univariate;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/package-info.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/package-info.java Tue Feb 14 16:17:55 2012
@@ -17,4 +17,4 @@
 /**
  * Common classes used throughout the commons-math library.
  */
-package org.apache.commons.math;
+package org.apache.commons.math3;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractRandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractRandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -14,10 +14,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.util.FastMath;
 
 /**
  * Abstract class implementing the {@link  RandomGenerator} interface.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractWell.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractWell.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractWell.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/AbstractWell.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.io.Serializable;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/BitsStreamGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/BitsStreamGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/BitsStreamGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/BitsStreamGenerator.java Tue Feb 14 16:17:55 2012
@@ -14,10 +14,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.util.FastMath;
 
 /** Base class for random number generators that generates bits streams.
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/CorrelatedRandomVectorGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/CorrelatedRandomVectorGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/CorrelatedRandomVectorGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/CorrelatedRandomVectorGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,11 +15,11 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
-import org.apache.commons.math.exception.DimensionMismatchException;
-import org.apache.commons.math.linear.RealMatrix;
-import org.apache.commons.math.linear.RectangularCholeskyDecomposition;
+import org.apache.commons.math3.exception.DimensionMismatchException;
+import org.apache.commons.math3.linear.RealMatrix;
+import org.apache.commons.math3.linear.RectangularCholeskyDecomposition;
 
 /**
  * A {@link RandomVectorGenerator} that generates vectors with with
@@ -79,7 +79,7 @@ public class CorrelatedRandomVectorGener
      * considered to be dependent on previous ones and are discarded
      * @param generator underlying generator for uncorrelated normalized
      * components.
-     * @throws org.apache.commons.math.linear.NonPositiveDefiniteMatrixException
+     * @throws org.apache.commons.math3.linear.NonPositiveDefiniteMatrixException
      * if the covariance matrix is not strictly positive definite.
      * @throws DimensionMismatchException if the mean and covariance
      * arrays dimensions do not match.
@@ -111,7 +111,7 @@ public class CorrelatedRandomVectorGener
      * considered to be dependent on previous ones and are discarded.
      * @param generator Underlying generator for uncorrelated normalized
      * components.
-     * @throws org.apache.commons.math.linear.NonPositiveDefiniteMatrixException
+     * @throws org.apache.commons.math3.linear.NonPositiveDefiniteMatrixException
      * if the covariance matrix is not strictly positive definite.
      */
     public CorrelatedRandomVectorGenerator(RealMatrix covariance, double small,

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.io.BufferedReader;
 import java.io.File;
@@ -27,15 +27,15 @@ import java.net.URL;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.commons.math.exception.MathIllegalArgumentException;
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.exception.NullArgumentException;
-import org.apache.commons.math.exception.ZeroException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.stat.descriptive.StatisticalSummary;
-import org.apache.commons.math.stat.descriptive.SummaryStatistics;
-import org.apache.commons.math.util.FastMath;
-import org.apache.commons.math.util.MathUtils;
+import org.apache.commons.math3.exception.MathIllegalArgumentException;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.exception.NullArgumentException;
+import org.apache.commons.math3.exception.ZeroException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.stat.descriptive.StatisticalSummary;
+import org.apache.commons.math3.stat.descriptive.SummaryStatistics;
+import org.apache.commons.math3.util.FastMath;
+import org.apache.commons.math3.util.MathUtils;
 
 /**
  * Represents an <a href="http://http://en.wikipedia.org/wiki/Empirical_distribution_function">

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/GaussianRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/GaussianRandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/GaussianRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/GaussianRandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 /**
  * This class is a gaussian normalized random generator for scalars.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.io.Serializable;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/JDKRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/JDKRandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/JDKRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/JDKRandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.util.Random;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/MersenneTwister.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/MersenneTwister.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/MersenneTwister.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/MersenneTwister.java Tue Feb 14 16:17:55 2012
@@ -14,11 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.io.Serializable;
 
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.util.FastMath;
 
 
 /** This class implements a powerful pseudo-random number generator

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/NormalizedRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/NormalizedRandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/NormalizedRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/NormalizedRandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 /**
  * This interface represent a normalized random generator for

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomAdaptor.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomAdaptor.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomAdaptor.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomAdaptor.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.util.Random;
 

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=1244107&r1=1243975&r2=1244107&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 Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 import java.util.Collection;
 
 /**
@@ -33,7 +33,7 @@ public interface RandomData {
      *
      * @param len the length of the string to be generated
      * @return a random string of hex characters of length {@code len}
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code len <= 0}
      */
     String nextHexString(int len);
@@ -51,7 +51,7 @@ public interface RandomData {
      * @param upper upper bound for generated integer
      * @return a random integer greater than or equal to {@code lower}
      * and less than or equal to {@code upper}
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code lower >= upper}
      */
     int nextInt(int lower, int upper);
@@ -69,7 +69,7 @@ public interface RandomData {
      * @param upper upper bound for generated long integer
      * @return a random long integer greater than or equal to {@code lower} and
      * less than or equal to {@code upper}
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code lower >= upper}.
      */
     long nextLong(long lower, long upper);
@@ -84,7 +84,7 @@ public interface RandomData {
      *
      * @param len the length of the string to be generated
      * @return a random string of hex characters of length {@code len}
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code len <= 0}
      */
     String nextSecureHexString(int len);
@@ -105,7 +105,7 @@ public interface RandomData {
      * @param upper upper bound for generated integer
      * @return a random integer greater than or equal to {@code lower} and less
      * than or equal to {@code upper}.
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code lower >= upper}.
      */
     int nextSecureInt(int lower, int upper);
@@ -127,7 +127,7 @@ public interface RandomData {
      * @param upper upper bound for generated integer
      * @return a random long integer greater than or equal to {@code lower} and
      * less than or equal to {@code upper}.
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code lower >= upper}.
      */
     long nextSecureLong(long lower, long upper);
@@ -142,7 +142,7 @@ public interface RandomData {
      *
      * @param mean the mean of the Poisson distribution
      * @return a random value following the specified Poisson distribution
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code mean <= 0}.
      */
     long nextPoisson(double mean);
@@ -158,7 +158,7 @@ public interface RandomData {
      * @param mu the mean of the distribution
      * @param sigma the standard deviation of the distribution
      * @return a random value following the specified Gaussian distribution
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code sigma <= 0}.
      */
     double nextGaussian(double mu, double sigma);
@@ -173,7 +173,7 @@ public interface RandomData {
      *
      * @param mean the mean of the distribution
      * @return a random value following the specified exponential distribution
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code mean <= 0}.
      */
     double nextExponential(double mean);
@@ -192,7 +192,7 @@ public interface RandomData {
      * @param upper the exclusive upper bound of the support
      * @return a uniformly distributed random value between lower and upper
      * (exclusive)
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code lower >= upper}
      */
     double nextUniform(double lower, double upper);
@@ -216,7 +216,7 @@ public interface RandomData {
      * interval, if {@code lowerInclusive} is {@code false}, or in the
      * {@code [lower, upper)} interval, if {@code lowerInclusive} is
      * {@code true}
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code lower >= upper}
      */
     double nextUniform(double lower, double upper, boolean lowerInclusive);
@@ -233,9 +233,9 @@ public interface RandomData {
      * @param k the size of the permutation
      * @return a random {@code k}-permutation of {@code n}, as an array of
      * integers
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code k > n}.
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code k <= 0}.
      */
     int[] nextPermutation(int n, int k);
@@ -254,9 +254,9 @@ public interface RandomData {
      * @param c the collection to be sampled
      * @param k the size of the sample
      * @return a random sample of {@code k} elements from {@code c}
-     * @throws org.apache.commons.math.exception.NumberIsTooLargeException
+     * @throws org.apache.commons.math3.exception.NumberIsTooLargeException
      * if {@code k > c.size()}.
-     * @throws org.apache.commons.math.exception.NotStrictlyPositiveException
+     * @throws org.apache.commons.math3.exception.NotStrictlyPositiveException
      * if {@code k <= 0}.
      */
     Object[] nextSample(Collection<?> c, int k);

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=1244107&r1=1243975&r2=1244107&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 Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.io.Serializable;
 import java.security.MessageDigest;
@@ -24,26 +24,26 @@ import java.security.NoSuchProviderExcep
 import java.security.SecureRandom;
 import java.util.Collection;
 
-import org.apache.commons.math.distribution.BetaDistribution;
-import org.apache.commons.math.distribution.BinomialDistribution;
-import org.apache.commons.math.distribution.CauchyDistribution;
-import org.apache.commons.math.distribution.ChiSquaredDistribution;
-import org.apache.commons.math.distribution.RealDistribution;
-import org.apache.commons.math.distribution.FDistribution;
-import org.apache.commons.math.distribution.HypergeometricDistribution;
-import org.apache.commons.math.distribution.IntegerDistribution;
-import org.apache.commons.math.distribution.PascalDistribution;
-import org.apache.commons.math.distribution.TDistribution;
-import org.apache.commons.math.distribution.WeibullDistribution;
-import org.apache.commons.math.distribution.ZipfDistribution;
-import org.apache.commons.math.exception.MathIllegalArgumentException;
-import org.apache.commons.math.exception.MathInternalError;
-import org.apache.commons.math.exception.NotStrictlyPositiveException;
-import org.apache.commons.math.exception.NumberIsTooLargeException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.util.ArithmeticUtils;
-import org.apache.commons.math.util.FastMath;
-import org.apache.commons.math.util.ResizableDoubleArray;
+import org.apache.commons.math3.distribution.BetaDistribution;
+import org.apache.commons.math3.distribution.BinomialDistribution;
+import org.apache.commons.math3.distribution.CauchyDistribution;
+import org.apache.commons.math3.distribution.ChiSquaredDistribution;
+import org.apache.commons.math3.distribution.RealDistribution;
+import org.apache.commons.math3.distribution.FDistribution;
+import org.apache.commons.math3.distribution.HypergeometricDistribution;
+import org.apache.commons.math3.distribution.IntegerDistribution;
+import org.apache.commons.math3.distribution.PascalDistribution;
+import org.apache.commons.math3.distribution.TDistribution;
+import org.apache.commons.math3.distribution.WeibullDistribution;
+import org.apache.commons.math3.distribution.ZipfDistribution;
+import org.apache.commons.math3.exception.MathIllegalArgumentException;
+import org.apache.commons.math3.exception.MathInternalError;
+import org.apache.commons.math3.exception.NotStrictlyPositiveException;
+import org.apache.commons.math3.exception.NumberIsTooLargeException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.util.ArithmeticUtils;
+import org.apache.commons.math3.util.FastMath;
+import org.apache.commons.math3.util.ResizableDoubleArray;
 
 /**
  * Implements the {@link RandomData} interface using a {@link RandomGenerator}
@@ -643,7 +643,7 @@ public class RandomDataImpl implements R
 
     /**
      * <p>Generates a random value from the
-     * {@link org.apache.commons.math.distribution.GammaDistribution Gamma Distribution}.</p>
+     * {@link org.apache.commons.math3.distribution.GammaDistribution Gamma Distribution}.</p>
      *
      * <p>This implementation uses the following algorithms: </p>
      *

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 
 /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomVectorGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomVectorGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomVectorGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomVectorGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 
 /** This interface represents a random generator for whole vectors.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
-import org.apache.commons.math.exception.NullArgumentException;
-import org.apache.commons.math.exception.OutOfRangeException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.exception.NullArgumentException;
+import org.apache.commons.math3.exception.OutOfRangeException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
+import org.apache.commons.math3.util.FastMath;
 
 /**
  * <p>This class provides a stable normalized random generator. It samples from a stable

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UncorrelatedRandomVectorGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UncorrelatedRandomVectorGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UncorrelatedRandomVectorGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UncorrelatedRandomVectorGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,11 +15,11 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 import java.util.Arrays;
 
-import org.apache.commons.math.exception.DimensionMismatchException;
+import org.apache.commons.math3.exception.DimensionMismatchException;
 
 /**
  * A {@link RandomVectorGenerator} that generates vectors with uncorrelated

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UniformRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UniformRandomGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UniformRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UniformRandomGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,9 +15,9 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.util.FastMath;
 
 /**
  * This class implements a normalized uniform random generator.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UnitSphereRandomVectorGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UnitSphereRandomVectorGenerator.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UnitSphereRandomVectorGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/UnitSphereRandomVectorGenerator.java Tue Feb 14 16:17:55 2012
@@ -15,9 +15,9 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
-import org.apache.commons.math.util.FastMath;
+import org.apache.commons.math3.util.FastMath;
 
 
 /**

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=1244107&r1=1243975&r2=1244107&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 Tue Feb 14 16:17:55 2012
@@ -15,15 +15,15 @@
  * limitations under the License.
  */
 
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 import java.io.BufferedReader;
 import java.io.IOException;
 import java.io.InputStreamReader;
 import java.net.MalformedURLException;
 import java.net.URL;
 
-import org.apache.commons.math.exception.MathIllegalStateException;
-import org.apache.commons.math.exception.util.LocalizedFormats;
+import org.apache.commons.math3.exception.MathIllegalStateException;
+import org.apache.commons.math3.exception.util.LocalizedFormats;
 
 /**
  * Generates values for use in simulation applications.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well1024a.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well1024a.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well1024a.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well1024a.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 
 /** This class implements the WELL1024a pseudo-random number generator

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937a.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937a.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937a.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937a.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 
 /** This class implements the WELL19937a pseudo-random number generator

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937c.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937c.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937c.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well19937c.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 
 /** This class implements the WELL19937c pseudo-random number generator

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well44497a.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well44497a.java?rev=1244107&r1=1243975&r2=1244107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well44497a.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/Well44497a.java Tue Feb 14 16:17:55 2012
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math.random;
+package org.apache.commons.math3.random;
 
 
 /** This class implements the WELL44497a pseudo-random number generator



Mime
View raw message