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 UnivariateRealSolvernewBisectionSolver()Create a newUnivariateRealSolver.UnivariateRealSolvernewBrentSolver()Create a newUnivariateRealSolver.UnivariateRealSolvernewDefaultSolver()Create a newUnivariateRealSolver.UnivariateRealSolvernewNewtonSolver()Create a newUnivariateRealSolver.UnivariateRealSolvernewSecantSolver()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:
newDefaultSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newBisectionSolver
public UnivariateRealSolver newBisectionSolver()
Create a newUnivariateRealSolver. The solver is an implementation of the bisection method.- Specified by:
newBisectionSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newBrentSolver
public UnivariateRealSolver newBrentSolver()
Create a newUnivariateRealSolver. The solver is an implementation of the Brent method.- Specified by:
newBrentSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newNewtonSolver
public UnivariateRealSolver newNewtonSolver()
Create a newUnivariateRealSolver. The solver is an implementation of Newton's Method.- Specified by:
newNewtonSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
newSecantSolver
public UnivariateRealSolver newSecantSolver()
Create a newUnivariateRealSolver. The solver is an implementation of the secant method.- Specified by:
newSecantSolverin classUnivariateRealSolverFactory- Returns:
- the new solver.
-
-