Home | History | Annotate | Download | only in solvers

Lines Matching refs:initial

35  * Laguerre's method is global in the sense that it can start with any initial
99 public double solve(final double min, final double max, final double initial)
101 return solve(p, min, max, initial);
105 * Find a real root in the given interval with initial value.
112 * @param initial the start value to use
122 final double min, final double max, final double initial)
125 return solve(f, min, max, initial);
129 * Find a real root in the given interval with initial value.
136 * @param initial the start value to use
146 final double min, final double max, final double initial)
156 if (f.value(initial) == 0.0) {
157 return initial;
161 verifySequence(min, initial, max);
162 if (isBracketing(min, initial, f)) {
163 return solve(f, min, initial);
165 return solve(f, initial, max);
175 * p(x) = x^3 + 1, min = -2, max = 2, initial = 0. We can either try
176 * another initial value, or, as we did here, call solveAll() to obtain
202 * p(x) = x^3 + 1, min = -2, max = 2, initial = 0. We can either try
203 * another initial value, or, as we did here, call solveAll() to obtain
236 Complex initial = new Complex(0.5 * (min + max), 0.0);
237 Complex z = solve(c, initial);
244 Complex[] root = solveAll(c, initial);
274 * starting from the given initial value.
277 * @param initial the start value to use
286 public Complex[] solveAll(double coefficients[], double initial) throws
290 Complex z = new Complex(initial, 0.0);
299 * starting from the given initial value.
302 * @param initial the start value to use
311 public Complex[] solveAll(Complex coefficients[], Complex initial) throws
330 root[i] = solve(subarray, initial);
349 * starting from the given initial value.
352 * @param initial the start value to use
361 public Complex solve(Complex coefficients[], Complex initial) throws
381 Complex z = initial;