Author: celestin Date: Fri Sep 9 02:14:15 2011 New Revision: 1166965 URL: http://svn.apache.org/viewvc?rev=1166965&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=1166965&r1=1166964&r2=1166965&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 Fri Sep 9 02:14:15 2011 @@ -632,22 +632,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.multiply(MatrixUtils.createRealMatrix(b)).getData(); - } - - /** - * Solve the linear equation A × X = B in least square sense. - * <p> - * The m×n matrix A may not be square, the solution X is such that - * ||A × X - B|| is minimal. - * </p> - * - * @param b Right-hand side of the equation A × X = B - * @return a matrix X that minimizes the two norm of A × X - B - * @throws org.apache.commons.math.exception.DimensionMismatchException - * if the matrices dimensions do not match. - */ public RealMatrix solve(final RealMatrix b) { return pseudoInverse.multiply(b); }