Author: luc
Date: Wed Mar 23 14:28:19 2011
New Revision: 1084600
URL: http://svn.apache.org/viewvc?rev=1084600&view=rev
Log:
removed unused method in private internal class
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java?rev=1084600&r1=1084599&r2=1084600&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java
Wed Mar 23 14:28:19 2011
@@ -200,31 +200,6 @@ public class LaguerreSolver extends Abst
* {@code null}.
* @throws NoDataException if the {@code coefficients} array is empty.
*/
- public Complex[] solveAll(double coefficients[], double initial) {
- if (coefficients == null) {
- throw new NullArgumentException();
- }
- Complex c[] = new Complex[coefficients.length];
- Complex z = new Complex(initial, 0);
- for (int i = 0; i < c.length; i++) {
- c[i] = new Complex(coefficients[i], 0);
- }
- return solveAll(c, z);
- }
-
- /**
- * Find all complex roots for the polynomial with the given
- * coefficients, starting from the given initial value.
- *
- * @param coefficients Polynomial coefficients.
- * @param initial Start value.
- * @return the point at which the function value is zero.
- * @throws
org.apache.commons.math.exception.TooManyEvaluationsException
- * if the maximum number of evaluations is exceeded.
- * @throws NullArgumentException if the {@code coefficients} is
- * {@code null}.
- * @throws NoDataException if the {@code coefficients} array is empty.
- */
public Complex[] solveAll(Complex coefficients[], Complex initial) {
if (coefficients == null) {
throw new NullArgumentException();