|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.analysis.solvers.UnivariateRealSolverFactory
public abstract class UnivariateRealSolverFactory
Abstract factory class used to create UnivariateRealSolver instances.
Solvers implementing the following algorithms are supported:
newDefaultSolver().
Common usage:
SolverFactory factory = UnivariateRealSolverFactory.newInstance(); // create a Brent solver to use BrentSolver solver = factory.newBrentSolver();
| Constructor Summary | |
|---|---|
protected |
UnivariateRealSolverFactory()
Default constructor. |
| Method Summary | |
|---|---|
abstract UnivariateRealSolver |
newBisectionSolver()
Create a new UnivariateRealSolver. |
abstract UnivariateRealSolver |
newBrentSolver()
Create a new UnivariateRealSolver. |
abstract UnivariateRealSolver |
newDefaultSolver()
Create a new UnivariateRealSolver. |
static UnivariateRealSolverFactory |
newInstance()
Create a new factory. |
abstract UnivariateRealSolver |
newNewtonSolver()
Create a new UnivariateRealSolver. |
abstract UnivariateRealSolver |
newSecantSolver()
Create a new UnivariateRealSolver. |
| 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()
UnivariateRealSolver. The
actual solver returned is determined by the underlying factory.
public abstract UnivariateRealSolver newBisectionSolver()
UnivariateRealSolver. The
solver is an implementation of the bisection method.
public abstract UnivariateRealSolver newBrentSolver()
UnivariateRealSolver. The
solver is an implementation of the Brent method.
public abstract UnivariateRealSolver newNewtonSolver()
UnivariateRealSolver. The
solver is an implementation of Newton's Method.
public abstract UnivariateRealSolver newSecantSolver()
UnivariateRealSolver. The
solver is an implementation of the secant method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||