Class UnivariateRealSolverFactoryImpl
java.lang.Object
org.apache.commons.math.analysis.solvers.UnivariateRealSolverFactory
org.apache.commons.math.analysis.solvers.UnivariateRealSolverFactoryImpl
A concrete
UnivariateRealSolverFactory. This is the default solver factory
used by commons-math.
The default solver returned by this factory is a BrentSolver.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a newUnivariateRealSolver.Create a newUnivariateRealSolver.Create a newUnivariateRealSolver.Create a newUnivariateRealSolver.Create a newUnivariateRealSolver.Methods inherited from class org.apache.commons.math.analysis.solvers.UnivariateRealSolverFactory
newInstance
-
Constructor Details
-
UnivariateRealSolverFactoryImpl
public UnivariateRealSolverFactoryImpl()Default constructor.
-
-
Method Details
-
newDefaultSolver
Create a newUnivariateRealSolver. The actual solver returned is determined by the underlying factory.- Specified by:
newDefaultSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newBisectionSolver
Create a newUnivariateRealSolver. The solver is an implementation of the bisection method.- Specified by:
newBisectionSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newBrentSolver
Create a newUnivariateRealSolver. The solver is an implementation of the Brent method.- Specified by:
newBrentSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newNewtonSolver
Create a newUnivariateRealSolver. The solver is an implementation of Newton's Method.- Specified by:
newNewtonSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newSecantSolver
Create a newUnivariateRealSolver. The solver is an implementation of the secant method.- Specified by:
newSecantSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-