|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.analysis.UnivariateRealSolverFactory
A factory to easily get a default solver and some convenience functions. Because solvers are easily reusable, the factory does not store configuration data and creates preconfigured solvers (this may be controversial, because the configuration data may also be used for the default solver used by the static solve() method).
Constructor Summary | |
protected |
UnivariateRealSolverFactory()
Default constructor. |
Method Summary | |
abstract UnivariateRealSolver |
newBisectionSolver(UnivariateRealFunction f)
Create a new UnivariateRealSolver for the given function. |
abstract UnivariateRealSolver |
newBrentSolver(UnivariateRealFunction f)
Create a new UnivariateRealSolver for the given function. |
abstract UnivariateRealSolver |
newDefaultSolver(UnivariateRealFunction f)
Create a new UnivariateRealSolver for the given function. |
static UnivariateRealSolverFactory |
newInstance()
Create a new factory. |
abstract UnivariateRealSolver |
newSecantSolver(UnivariateRealFunction f)
Create a new UnivariateRealSolver for the given function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected UnivariateRealSolverFactory()
Method Detail |
public static UnivariateRealSolverFactory newInstance()
public abstract UnivariateRealSolver newDefaultSolver(UnivariateRealFunction f)
UnivariateRealSolver
for the given function. The
actual solver returned is determined by the underlying factory.
f
- the function.
public abstract UnivariateRealSolver newBisectionSolver(UnivariateRealFunction f)
UnivariateRealSolver
for the given function. The
solver is an implementation of the bisection method.
f
- the function.
public abstract UnivariateRealSolver newBrentSolver(UnivariateRealFunction f)
UnivariateRealSolver
for the given function. The
solver is an implementation of the Brent method.
f
- the function.
public abstract UnivariateRealSolver newSecantSolver(UnivariateRealFunction f)
UnivariateRealSolver
for the given function. The
solver is an implementation of the secant method.
f
- the function.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |