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×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 vector 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 RealVector solve(final RealVector b) { return pseudoInverse.operate(b); }