commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1165508 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
Date Tue, 06 Sep 2011 06:24:11 GMT
Author: celestin
Date: Tue Sep  6 06:24:11 2011
New Revision: 1165508

URL: http://svn.apache.org/viewvc?rev=1165508&view=rev
Log:
Removed double[] solve(double[]) from SingularValueDecompositionImpl.Solver

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java?rev=1165508&r1=1165507&r2=1165508&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
Tue Sep  6 06:24:11 2011
@@ -616,21 +616,6 @@ public class SingularValueDecompositionI
          * @throws org.apache.commons.math.exception.DimensionMismatchException
          * if the matrices dimensions do not match.
          */
-        public double[] solve(final double[] b) {
-            return pseudoInverse.operate(b);
-        }
-
-        /**
-         * Solve the linear equation A × X = B in least square sense.
-         * <p>
-         * The m&times;n matrix A may not be square, the solution X is such that
-         * ||A &times; X - B|| is minimal.
-         * </p>
-         * @param b Right-hand side of the equation A &times; X = B
-         * @return a vector X that minimizes the two norm of A &times; X - B
-         * @throws org.apache.commons.math.exception.DimensionMismatchException
-         * if the matrices dimensions do not match.
-         */
         public RealVector solve(final RealVector b) {
             return pseudoInverse.operate(b);
         }



Mime
View raw message