public abstract class UnivariateRealSolverFactory
extends java.lang.Object
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();
Modifier and Type | Method and Description |
---|---|
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 . |
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."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"