Removed double[] solve(double[]) from SingularValueDecompositionImpl.Solver
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165508 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7471813924
commit
ca460b7c22
|
@ -605,21 +605,6 @@ public class SingularValueDecompositionImpl implements SingularValueDecompositio
|
|||
this.nonSingular = nonSingular;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 double[] solve(final double[] b) {
|
||||
return pseudoInverse.operate(b);
|
||||
}
|
||||
|
||||
/**
|
||||
* Solve the linear equation A × X = B in least square sense.
|
||||
* <p>
|
||||
|
|
Loading…
Reference in New Issue