renamed BracketedSolution into BracketedUnivariateRealSolver and make it extend UnivariateRealSolver.

This will allow specifying directly a sub-category of solvers when needed. It will be used for example by the ODE events detection mechanism, as it will ensure the integrator can automatically go past the event time.

JIRA: MATH-605

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-07-01 11:39:28 +00:00
parent d78c757aa9
commit 77af8e9585
4 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ package org.apache.commons.math.analysis.solvers;
* may be necessary to guarantee that a solution is returned that does not
* under-approximate the solution.</p>
*
* @see BracketedSolution
* @see BracketedUnivariateRealSolver
* @since 3.0
* @version $Id$
*/

View File

@ -19,13 +19,13 @@ package org.apache.commons.math.analysis.solvers;
/**
* Base class for <em>Secant</em> methods that guarantee convergence
* by maintaining a {@link BracketedSolution bracketed solution}.
* by maintaining a {@link BracketedUnivariateRealSolver bracketed solution}.
*
* @since 3.0
* @version $Id$
*/
public class BaseBracketedSecantSolver extends BaseSecantSolver
implements BracketedSolution {
implements BracketedUnivariateRealSolver {
/**
* Construct a solver with default accuracy (1e-6).
*

View File

@ -41,7 +41,7 @@ package org.apache.commons.math.analysis.solvers;
* @since 3.0
* @version $Id$
*/
public interface BracketedSolution {
public interface BracketedUnivariateRealSolver extends UnivariateRealSolver {
/** Returns the kind of solutions that the root-finding algorithm may
* accept as solutions.
*

View File

@ -22,7 +22,7 @@ package org.apache.commons.math.analysis.solvers;
* root-finding (approximating a zero of a univariate real function). It is a
* modified {@link SecantSolver <em>Secant</em>} method. Unlike the
* <em>Secant</em> method, convergence is guaranteed by maintaining a
* {@link BracketedSolution bracketed solution}.
* bracketed solution.
*
* <p>The <em>Regula Falsi</em> method assumes that the function is continuous,
* but not necessarily smooth.</p>