Class UnivariateRealSolverFactoryImpl
- java.lang.Object
-
- org.apache.commons.math.analysis.solvers.UnivariateRealSolverFactory
-
- org.apache.commons.math.analysis.solvers.UnivariateRealSolverFactoryImpl
-
public class UnivariateRealSolverFactoryImpl extends UnivariateRealSolverFactory
A concreteUnivariateRealSolverFactory
. This is the default solver factory used by commons-math.The default solver returned by this factory is a
BrentSolver
.- Version:
- $Revision: 811685 $ $Date: 2009-09-05 19:36:48 +0200 (sam. 05 sept. 2009) $
-
-
Constructor Summary
Constructors Constructor Description UnivariateRealSolverFactoryImpl()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnivariateRealSolver
newBisectionSolver()
Create a newUnivariateRealSolver
.UnivariateRealSolver
newBrentSolver()
Create a newUnivariateRealSolver
.UnivariateRealSolver
newDefaultSolver()
Create a newUnivariateRealSolver
.UnivariateRealSolver
newNewtonSolver()
Create a newUnivariateRealSolver
.UnivariateRealSolver
newSecantSolver()
Create a newUnivariateRealSolver
.-
Methods inherited from class org.apache.commons.math.analysis.solvers.UnivariateRealSolverFactory
newInstance
-
-
-
-
Method Detail
-
newDefaultSolver
public UnivariateRealSolver newDefaultSolver()
Create a newUnivariateRealSolver
. The actual solver returned is determined by the underlying factory.- Specified by:
newDefaultSolver
in classUnivariateRealSolverFactory
- Returns:
- the new solver.
-
newBisectionSolver
public UnivariateRealSolver newBisectionSolver()
Create a newUnivariateRealSolver
. The solver is an implementation of the bisection method.- Specified by:
newBisectionSolver
in classUnivariateRealSolverFactory
- Returns:
- the new solver.
-
newBrentSolver
public UnivariateRealSolver newBrentSolver()
Create a newUnivariateRealSolver
. The solver is an implementation of the Brent method.- Specified by:
newBrentSolver
in classUnivariateRealSolverFactory
- Returns:
- the new solver.
-
newNewtonSolver
public UnivariateRealSolver newNewtonSolver()
Create a newUnivariateRealSolver
. The solver is an implementation of Newton's Method.- Specified by:
newNewtonSolver
in classUnivariateRealSolverFactory
- Returns:
- the new solver.
-
newSecantSolver
public UnivariateRealSolver newSecantSolver()
Create a newUnivariateRealSolver
. The solver is an implementation of the secant method.- Specified by:
newSecantSolver
in classUnivariateRealSolverFactory
- Returns:
- the new solver.
-
-