You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2009/02/15 22:59:11 UTC
svn commit: r744768 [1/2] - in /commons/proper/math/trunk/src:
java/org/apache/commons/math/ java/org/apache/commons/math/estimation/
java/org/apache/commons/math/linear/
java/org/apache/commons/math/linear/decomposition/
java/org/apache/commons/math/o...
Author: luc
Date: Sun Feb 15 21:59:09 2009
New Revision: 744768
URL: http://svn.apache.org/viewvc?rev=744768&view=rev
Log:
moved the decomposition algorithms in a subpackage of the linear package
Added:
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BiDiagonalTransformer.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java (contents, props changed)
- copied, changed from r744708, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java (contents, props changed)
- copied, changed from r744716, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/DecompositionSolver.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java (contents, props changed)
- copied, changed from r744724, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java (contents, props changed)
- copied, changed from r744682, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NonSquareMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotPositiveDefiniteMatrixException.java
- copied, changed from r744681, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java (contents, props changed)
- copied, changed from r744708, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java (contents, props changed)
- copied, changed from r744724, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/TriDiagonalTransformer.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html (with props)
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BiDiagonalTransformerTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java (contents, props changed)
- copied, changed from r744708, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java (contents, props changed)
- copied, changed from r744708, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskySolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenSolverTest.java
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRSolverTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImplTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SingularValueDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/SingularValueSolverTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SingularValueSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/TriDiagonalTransformerTest.java (contents, props changed)
- copied, changed from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/TriDiagonalTransformerTest.java
Removed:
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BiDiagonalTransformer.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/DecompositionSolver.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NonSquareMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularMatrixException.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecomposition.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/TriDiagonalTransformer.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BiDiagonalTransformerTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskySolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SingularValueDecompositionImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SingularValueSolverTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/TriDiagonalTransformerTest.java
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java
commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/AbstractRealMatrix.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java
commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java
commons/proper/math/trunk/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/GLSMultipleLinearRegression.java
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/OLSMultipleLinearRegression.java
commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/optimization/NelderMeadTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/random/CorrelatedRandomVectorGeneratorTest.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java Sun Feb 15 21:59:09 2009
@@ -68,11 +68,11 @@
{ "dimension mismatch {0} != {1}",
"dimensions incompatibles {0} != {1}" },
- // org.apache.commons.math.linear.NotPositiveDefiniteMatrixException
+ // org.apache.commons.math.linear.decomposition.NotPositiveDefiniteMatrixException
{ "not positive definite matrix",
"matrice non d\u00e9finie positive" },
- // org.apache.commons.math.linear.NotSymmetricMatrixException
+ // org.apache.commons.math.linear.decomposition.NotSymmetricMatrixException
{ "not symmetric matrix",
"matrice non symm\u00e9trique" },
@@ -175,25 +175,25 @@
{ "no bin selected",
"aucun compartiment s\u00e9lectionn\u00e9" },
- // org.apache.commons.math.linear.EigenDecompositionImpl
+ // org.apache.commons.math.linear.decomposition.EigenDecompositionImpl
{ "cannot solve degree {0} equation",
"impossible de r\u00e9soudre une \u00e9quation de degr\u00e9 {0}" },
{ "eigen decomposition of assymetric matrices not supported yet",
"la d\u00e9composition en valeurs/vecteurs propres de matrices non sym\u00e9triques n''est pas encore disponible" },
- // org.apache.commons.math.linear.NonSquareMatrixException
+ // org.apache.commons.math.linear.decomposition.NonSquareMatrixException
{ "a {0}x{1} matrix was provided instead of a square matrix",
"une matrice {0}x{1} a \u00e9t\u00e9 fournie \u00e0 la place d''une matrice carr\u00e9e" },
- // org.apache.commons.math.linear.SingularMatrixException
+ // org.apache.commons.math.linear.decomposition.SingularMatrixException
{ "matrix is singular",
"matrice singuli\u00e8re" },
- // org.apache.commons.math.linear.CholeskyDecompositionImpl
- // org.apache.commons.math.linear.EigenDecompositionImpl
- // org.apache.commons.math.linear.LUDecompositionImpl
- // org.apache.commons.math.linear.QRDecompositionImpl
- // org.apache.commons.math.linear.SingularValueDecompositionImpl
+ // org.apache.commons.math.linear.decomposition.CholeskyDecompositionImpl
+ // org.apache.commons.math.linear.decomposition.EigenDecompositionImpl
+ // org.apache.commons.math.linear.decomposition.LUDecompositionImpl
+ // org.apache.commons.math.linear.decomposition.QRDecompositionImpl
+ // org.apache.commons.math.linear.decomposition.SingularValueDecompositionImpl
{ "vector length mismatch: got {0} but expected {1}",
"dimension de vecteur erronn\u00e9e : {0} \u00e0 la place de {1}" },
{ "dimensions mismatch: got {0}x{1} but expected {2}x{3}",
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java Sun Feb 15 21:59:09 2009
@@ -20,9 +20,9 @@
import java.util.Arrays;
import org.apache.commons.math.linear.InvalidMatrixException;
-import org.apache.commons.math.linear.LUDecompositionImpl;
import org.apache.commons.math.linear.MatrixUtils;
import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
/**
* Base class for implementing estimators.
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java Sun Feb 15 21:59:09 2009
@@ -20,11 +20,11 @@
import java.io.Serializable;
import org.apache.commons.math.linear.InvalidMatrixException;
-import org.apache.commons.math.linear.LUDecompositionImpl;
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.linear.RealVectorImpl;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
/**
* This class implements a solver for estimation problems.
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/AbstractRealMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/AbstractRealMatrix.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/AbstractRealMatrix.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/AbstractRealMatrix.java Sun Feb 15 21:59:09 2009
@@ -20,6 +20,10 @@
import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException;
+import org.apache.commons.math.linear.decomposition.DecompositionSolver;
+import org.apache.commons.math.linear.decomposition.LUDecomposition;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
import org.apache.commons.math.util.MathUtils;
/**
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BigMatrixImpl.java Sun Feb 15 21:59:09 2009
@@ -20,6 +20,8 @@
import java.math.BigDecimal;
import org.apache.commons.math.MathRuntimeException;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
+import org.apache.commons.math.linear.decomposition.SingularMatrixException;
/**
* Implementation of {@link BigMatrix} using a BigDecimal[][] array to store entries
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java Sun Feb 15 21:59:09 2009
@@ -19,6 +19,10 @@
import java.io.Serializable;
+import org.apache.commons.math.linear.decomposition.DecompositionSolver;
+import org.apache.commons.math.linear.decomposition.LUDecomposition;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
+
/**
* Interface defining a real-valued matrix with basic algebraic operations.
* <p>
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BiDiagonalTransformer.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BiDiagonalTransformer.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/BiDiagonalTransformer.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,13 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+
/**
* Class transforming any matrix to bi-diagonal shape.
* <p>Any m × n matrix A can be written as the product of three matrices:
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/BiDiagonalTransformer.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java (from r744708, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecomposition.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecomposition.java&r1=744708&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecomposition.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,12 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.RealMatrix;
+
/**
* An interface to classes that implement an algorithm to calculate the
* Cholesky decomposition of a real symmetric positive-definite matrix.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java (from r744716, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java&r1=744716&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java Sun Feb 15 21:59:09 2009
@@ -15,9 +15,15 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import org.apache.commons.math.MathRuntimeException;
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealMatrixImpl;
+import org.apache.commons.math.linear.RealVector;
+import org.apache.commons.math.linear.RealVectorImpl;
/**
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/DecompositionSolver.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/DecompositionSolver.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/DecompositionSolver.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,14 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealVector;
+
/**
* Interface handling decomposition algorithms that can solve A × X = B.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/DecompositionSolver.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecomposition.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecomposition.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecomposition.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,13 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealVector;
+
/**
* An interface to classes that implement an algorithm to calculate the
* eigen decomposition of a real matrix.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecomposition.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java (from r744724, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecompositionImpl.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecompositionImpl.java&r1=744724&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/EigenDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.util.ArrayList;
import java.util.Arrays;
@@ -24,6 +24,11 @@
import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException;
+import org.apache.commons.math.linear.InvalidMatrixException;
+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.linear.RealVectorImpl;
import org.apache.commons.math.util.MathUtils;
/**
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/EigenDecompositionImpl.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecomposition.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecomposition.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecomposition.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,12 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.RealMatrix;
+
/**
* An interface to classes that implement an algorithm to calculate the
* LU-decomposition of a real matrix.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecomposition.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java (from r744682, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java&r1=744682&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java Sun Feb 15 21:59:09 2009
@@ -15,9 +15,15 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import org.apache.commons.math.MathRuntimeException;
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealMatrixImpl;
+import org.apache.commons.math.linear.RealVector;
+import org.apache.commons.math.linear.RealVectorImpl;
/**
* Calculates the LUP-decomposition of a square matrix.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/LUDecompositionImpl.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NonSquareMatrixException.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NonSquareMatrixException.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NonSquareMatrixException.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,9 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
+
+import org.apache.commons.math.linear.InvalidMatrixException;
/**
* Thrown when an operation defined only for square matrices is applied to non-square ones.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NonSquareMatrixException.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotPositiveDefiniteMatrixException.java (from r744681, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotPositiveDefiniteMatrixException.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotPositiveDefiniteMatrixException.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java&r1=744681&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotPositiveDefiniteMatrixException.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import org.apache.commons.math.MathException;
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java (from r744708, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java&r1=744708&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import org.apache.commons.math.MathException;
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/NotSymmetricMatrixException.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecomposition.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecomposition.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecomposition.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,12 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.RealMatrix;
+
/**
* An interface to classes that implement an algorithm to calculate the
* QR-decomposition of a real matrix.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecomposition.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/QRDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java Sun Feb 15 21:59:09 2009
@@ -15,11 +15,17 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.util.Arrays;
import org.apache.commons.math.MathRuntimeException;
+import org.apache.commons.math.linear.DenseRealMatrix;
+import org.apache.commons.math.linear.InvalidMatrixException;
+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.linear.RealVectorImpl;
/**
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/QRDecompositionImpl.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularMatrixException.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularMatrixException.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularMatrixException.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,9 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
+
+import org.apache.commons.math.linear.InvalidMatrixException;
/**
* Thrown when a matrix is singular.
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularMatrixException.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecomposition.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecomposition.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecomposition.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,12 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
+import org.apache.commons.math.linear.RealMatrix;
+
/**
* An interface to classes that implement an algorithm to calculate the
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java (from r744724, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java&r1=744724&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,14 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.MathRuntimeException;
+import org.apache.commons.math.linear.InvalidMatrixException;
+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.util.MathUtils;
/**
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/SingularValueDecompositionImpl.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java (from r744680, commons/proper/math/trunk/src/java/org/apache/commons/math/linear/TriDiagonalTransformer.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/linear/TriDiagonalTransformer.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/TriDiagonalTransformer.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java Sun Feb 15 21:59:09 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.io.Serializable;
import java.util.Arrays;
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+
/**
* Class transforming a symmetrical matrix to tridiagonal shape.
* <p>A symmetrical m × m matrix A can be written as the product of three matrices:
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/TriDiagonalTransformer.java
------------------------------------------------------------------------------
svn:mergeinfo =
Added: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html?rev=744768&view=auto
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html (added)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html Sun Feb 15 21:59:09 2009
@@ -0,0 +1,20 @@
+<html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+ <!-- $Revision$ $Date$ -->
+ <body>Matrix decomposition algorithms and linear/least squares solvers.</body>
+</html>
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/decomposition/package.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java Sun Feb 15 21:59:09 2009
@@ -23,8 +23,8 @@
import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.DimensionMismatchException;
import org.apache.commons.math.MathRuntimeException;
-import org.apache.commons.math.linear.NotPositiveDefiniteMatrixException;
import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.NotPositiveDefiniteMatrixException;
import org.apache.commons.math.random.CorrelatedRandomVectorGenerator;
import org.apache.commons.math.random.JDKRandomGenerator;
import org.apache.commons.math.random.RandomGenerator;
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java Sun Feb 15 21:59:09 2009
@@ -19,8 +19,8 @@
import org.apache.commons.math.DimensionMismatchException;
import org.apache.commons.math.linear.MatrixUtils;
-import org.apache.commons.math.linear.NotPositiveDefiniteMatrixException;
import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.NotPositiveDefiniteMatrixException;
/**
* A {@link RandomVectorGenerator} that generates vectors with with
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/GLSMultipleLinearRegression.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/GLSMultipleLinearRegression.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/GLSMultipleLinearRegression.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/GLSMultipleLinearRegression.java Sun Feb 15 21:59:09 2009
@@ -16,9 +16,9 @@
*/
package org.apache.commons.math.stat.regression;
-import org.apache.commons.math.linear.LUDecompositionImpl;
import org.apache.commons.math.linear.RealMatrix;
import org.apache.commons.math.linear.RealMatrixImpl;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
/**
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/OLSMultipleLinearRegression.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/OLSMultipleLinearRegression.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/OLSMultipleLinearRegression.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/stat/regression/OLSMultipleLinearRegression.java Sun Feb 15 21:59:09 2009
@@ -16,11 +16,11 @@
*/
package org.apache.commons.math.stat.regression;
-import org.apache.commons.math.linear.LUDecompositionImpl;
-import org.apache.commons.math.linear.QRDecomposition;
-import org.apache.commons.math.linear.QRDecompositionImpl;
import org.apache.commons.math.linear.RealMatrix;
import org.apache.commons.math.linear.RealMatrixImpl;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.QRDecomposition;
+import org.apache.commons.math.linear.decomposition.QRDecompositionImpl;
/**
* <p>Implements ordinary least squares (OLS) to estimate the parameters of a
Modified: commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml Sun Feb 15 21:59:09 2009
@@ -100,17 +100,25 @@
</subsection>
<subsection name="3.4 Solving linear systems" href="solve">
<p>
- The <code>solve()</code> methods of the <code>DecompositionSolver</code> interface
- support solving linear systems of equations of the form AX=B, either in linear sense
- or in least square sense. In each case, the <code>RealMatrix</code> represents the
- coefficient matrix of the system. For example, to solve the linear system
+ The <code>solve()</code> methods of the <a
+ href="../apidocs/org/apache/commons/math/linear/decomposition/DecompositionSolver.html">DecompositionSolver</a>
+ interface support solving linear systems of equations of the form AX=B, either
+ in linear sense or in least square sense. A <code>RealMatrix</code> instance is
+ used to represent the coefficient matrix of the system. Solving the system is a
+ two phases process: first the coefficient matrix is decomposed in some way and
+ then a solver built from the decomposition solves the system. This allows to
+ compute the decomposition and build the solver only once if several systems have
+ to be solved with the same coefficient matrix.
+ </p>
+ <p>
+ For example, to solve the linear system
<pre>
2x + 3y - 2z = 1
-x + 7y + 6x = -2
4x - 3y - 5z = 1
</pre>
- Start by creating a RealMatrix to store the coefficients matrix A and provide it
- to a solver
+ Start by decomposing the coefficient matrix A (in this case using LU decomposition)
+ and build a solver
<source>
RealMatrix coefficients =
new RealMatrixImpl(new double[][] { { 2, 3, -2 }, { -1, 7, 6 }, { 4, -3, -5 } },
@@ -128,22 +136,24 @@
and z (<code>solution.getEntry(2)</code>) that solve the system.
</p>
<p>
- The linear system AX=B is solved in least squares sense: the value returned
- for X is such that the residual AX-B has minimal norm. If an exact solution
- exist (i.e. if for some X the residual AX-B is exactly 0), then this exact
- solution is also the solution in least square sense. Some solvers like
- the one obtained from <code>LUDecomposition</code> or
- <code>CholeskyDecomposition</code>code> can only find the solution
- for square matrices and when the solution is an exact linear solution. Other
- solvers like the one obtained from <code>QRDecomposition</code>
- are more versatile and can also find solutions with non-square matrix A or when
- no exact solution exist (i.e. when the minimal value for AX-B norm is non-null).
- </p>
- <p>
- If the coefficient matrix is singular or doesn't fulfill the requirements of
- the solver, an
- <a href="../apidocs/org/apache/commons/math/linear/InvalidMatrixException.html">
- InvalidMatrixException</a> or an <code>IllegalArgumentException</code> is thrown.
+ Each type of decomposition has its specific semantics and constraints on
+ the coefficient matrix as shown in the following table. For algorithms that
+ solve AX=B in least squares sense the value returned for X is such that the
+ residual AX-B has minimal norm. If an exact solution exist (i.e. if for some
+ X the residual AX-B is exactly 0), then this exact solution is also the solution
+ in least square sense. This implies that algorithms suited for least squares
+ problems can also be used to solve exact problems, but the reverse is not true.
+ </p>
+ <p>
+ <table border="1" align="center">
+ <tr BGCOLOR="#CCCCFF"><td colspan="2"><font size="+2">Decomposition algorithms</font></td></tr>
+ <tr BGCOLOR="#EEEEFF"><font size="+1"><td>Name</td><td>coefficients matrix</td><td>problem type</td></font></tr>
+ <tr><td><a href="../apidocs/org/apache/commons/math/linear/decomposition/LUDecomposition.html">LU</a></td><td>square</td><td>exact solution only</td></tr>
+ <tr><td><a href="../apidocs/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.html">Cholesky</a></td><td>symmetric positive definite</td><td>exact solution only</td></tr>
+ <tr><td><a href="../apidocs/org/apache/commons/math/linear/decomposition/QRDecomposition.html">QR</a></td><td>any</td><td>least squares solution</td></tr>
+ <tr><td><a href="../apidocs/org/apache/commons/math/linear/decomposition/EigenDecomposition.html">eigen decomposition</a></td><td>square</td><td>exact solution only</td></tr>
+ <tr><td><a href="../apidocs/org/apache/commons/math/linear/decomposition/SingularValueDecomposition.html">SVD</a></td><td>any</td><td>least squares solution</td></tr>
+ </table>
</p>
<p>
It is possible to use a simple array of double instead of a <code>RealVector</code>.
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java Sun Feb 15 21:59:09 2009
@@ -19,6 +19,9 @@
import java.util.Arrays;
import java.util.Random;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java Sun Feb 15 21:59:09 2009
@@ -21,6 +21,8 @@
import junit.framework.TestSuite;
import org.apache.commons.math.TestUtils;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
/**
* Test cases for the {@link RealMatrixImpl} class.
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java?rev=744768&r1=744767&r2=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java Sun Feb 15 21:59:09 2009
@@ -16,6 +16,9 @@
*/
package org.apache.commons.math.linear;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BiDiagonalTransformerTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BiDiagonalTransformerTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BiDiagonalTransformerTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,11 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
+
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.BiDiagonalTransformer;
import junit.framework.Test;
import junit.framework.TestCase;
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/BiDiagonalTransformerTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java (from r744708, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java&r1=744708&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java Sun Feb 15 21:59:09 2009
@@ -15,9 +15,16 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import org.apache.commons.math.MathException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.CholeskyDecomposition;
+import org.apache.commons.math.linear.decomposition.CholeskyDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
+import org.apache.commons.math.linear.decomposition.NotPositiveDefiniteMatrixException;
+import org.apache.commons.math.linear.decomposition.NotSymmetricMatrixException;
import junit.framework.Test;
import junit.framework.TestCase;
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImplTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java (from r744708, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskySolverTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskySolverTest.java&r1=744708&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/CholeskySolverTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java Sun Feb 15 21:59:09 2009
@@ -15,13 +15,20 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.commons.math.MathException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealVectorImpl;
+import org.apache.commons.math.linear.RealVectorImplTest;
+import org.apache.commons.math.linear.RealVectorImplTest.RealVectorTestImpl;
+import org.apache.commons.math.linear.decomposition.CholeskyDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.DecompositionSolver;
public class CholeskySolverTest extends TestCase {
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/CholeskySolverTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenDecompositionImplTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenDecompositionImplTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenDecompositionImplTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java Sun Feb 15 21:59:09 2009
@@ -15,11 +15,17 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.util.Arrays;
import java.util.Random;
+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.linear.decomposition.EigenDecomposition;
+import org.apache.commons.math.linear.decomposition.EigenDecompositionImpl;
+import org.apache.commons.math.linear.decomposition.TriDiagonalTransformer;
import org.apache.commons.math.util.MathUtils;
import junit.framework.Test;
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenDecompositionImplTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenSolverTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenSolverTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenSolverTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenSolverTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenSolverTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/EigenSolverTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/EigenSolverTest.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.util.Random;
@@ -23,6 +23,14 @@
import junit.framework.TestCase;
import junit.framework.TestSuite;
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealVectorImpl;
+import org.apache.commons.math.linear.RealVectorImplTest;
+import org.apache.commons.math.linear.RealVectorImplTest.RealVectorTestImpl;
+import org.apache.commons.math.linear.decomposition.DecompositionSolver;
+import org.apache.commons.math.linear.decomposition.EigenDecompositionImpl;
import org.apache.commons.math.util.MathUtils;
public class EigenSolverTest extends TestCase {
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUDecompositionImplTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUDecompositionImplTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUDecompositionImplTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,13 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
+
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.LUDecomposition;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
import junit.framework.Test;
import junit.framework.TestCase;
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUDecompositionImplTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUSolverTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUSolverTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/LUSolverTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java Sun Feb 15 21:59:09 2009
@@ -15,7 +15,16 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
+
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealVectorImpl;
+import org.apache.commons.math.linear.RealVectorImplTest;
+import org.apache.commons.math.linear.RealVectorImplTest.RealVectorTestImpl;
+import org.apache.commons.math.linear.decomposition.DecompositionSolver;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
import junit.framework.Test;
import junit.framework.TestCase;
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/LUSolverTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRDecompositionImplTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRDecompositionImplTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRDecompositionImplTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,19 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.util.Random;
+import org.apache.commons.math.linear.DefaultRealMatrixChangingVisitor;
+import org.apache.commons.math.linear.DefaultRealMatrixPreservingVisitor;
+import org.apache.commons.math.linear.DenseRealMatrix;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.MatrixVisitorException;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.decomposition.QRDecomposition;
+import org.apache.commons.math.linear.decomposition.QRDecompositionImpl;
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRDecompositionImplTest.java
------------------------------------------------------------------------------
svn:mergeinfo =
Copied: commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRSolverTest.java (from r744680, commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRSolverTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRSolverTest.java?p2=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRSolverTest.java&p1=commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRSolverTest.java&r1=744680&r2=744768&rev=744768&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/linear/QRSolverTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/linear/decomposition/QRSolverTest.java Sun Feb 15 21:59:09 2009
@@ -15,10 +15,24 @@
* limitations under the License.
*/
-package org.apache.commons.math.linear;
+package org.apache.commons.math.linear.decomposition;
import java.util.Random;
+import org.apache.commons.math.linear.DefaultRealMatrixChangingVisitor;
+import org.apache.commons.math.linear.DenseRealMatrix;
+import org.apache.commons.math.linear.InvalidMatrixException;
+import org.apache.commons.math.linear.MatrixUtils;
+import org.apache.commons.math.linear.MatrixVisitorException;
+import org.apache.commons.math.linear.RealMatrix;
+import org.apache.commons.math.linear.RealVector;
+import org.apache.commons.math.linear.RealVectorImpl;
+import org.apache.commons.math.linear.RealVectorImplTest;
+import org.apache.commons.math.linear.RealVectorImplTest.RealVectorTestImpl;
+import org.apache.commons.math.linear.decomposition.DecompositionSolver;
+import org.apache.commons.math.linear.decomposition.QRDecomposition;
+import org.apache.commons.math.linear.decomposition.QRDecompositionImpl;
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;